Get applications
get
/developers/services/v1/applications
All authenticated users can request this resource. Only applications that the user is issued the Manage Application or View All Details application grant for are returned.
Request
Query Parameters
-
editable(optional): boolean
Determines if only editable applications (those the user is issued the Manage Application grant for) are returned. A value of
true
returns only editable applications; all applications are returned otherwise or if this parameter is absent.Default Value:false
-
limit(optional): integer(int32)
Requested limit for the results list.Default Value:
0
-
offset(optional): integer(int32)
Requested offset in the results list.
-
orderBy(optional): array
Collection Format:
multi
{ApplicationRestService.getApplicationList.param.orderBy}-
[0]:
string
Default Value:
name ASC
-
[0]:
string
-
q(optional): string
{ApplicationRestService.getApplicationList.param.query}
Response
Supported Media Types
- application/json
200 Response
JSON structure with list of all applications.
HATEOAS Application collection response representation.
Root Schema : ApplicationCollectionResponse
Type:
object
HATEOAS Application collection response representation.
Show Source
-
count(optional):
integer(int32)
Item count in this response.
-
filters(optional):
array filters
List of filters applicable for the current API list. This is
null
by default. -
hasMore(optional):
boolean
Default Value:
false
Indicates if there are more results after the current batch. -
items:
array items
Actual response items.
-
limit(optional):
integer(int32)
Paging limit.
-
links(optional):
array links
HATEOAS links.
-
offset(optional):
integer(int32)
Paging offset.
-
states(optional):
array states
Optional list of API states. This is
null
by default. -
totalResults(optional):
integer(int32)
Response item count (excluding the paging parameters).
Nested Schema : filters
Type:
array
List of filters applicable for the current API list. This is
Show Source
null
by default.Nested Schema : items
Type:
array
Actual response items.
Show Source
-
Array of:
object PortalApplication
Application resource representation.
Nested Schema : links
Type:
array
HATEOAS links.
Show Source
-
Array of:
object GenericLink
HATEOAS generic link representation.
Nested Schema : states
Type:
array
Optional list of API states. This is
Show Source
null
by default.Nested Schema : PortalApplication
Type:
object
Application resource representation.
Show Source
-
applicationKey:
string
The application's key.
-
contactCompany(optional):
string
The owner's company.
-
contactEmail(optional):
string
The owner's email address.
-
contactFirstName(optional):
string
The owner's first name.
-
contactLastName(optional):
string
The owner's last name.
-
contactLdapName(optional):
string
The owner's LDAP user name.
-
contactPhone(optional):
string
The owner's phone number.
-
createdAt(optional):
string
The date and time the application was created.
-
createdBy(optional):
string
The user who created the application.
-
description(optional):
string
The application's description.
-
id:
integer(int32)
The application's ID.
-
lastUpdatedAt(optional):
string
The date and time the application was last updated.
-
lastUpdatedBy(optional):
string
The user who last updated the application.
-
links(optional):
array links
HATEOAS links for the application.
-
name:
string
The application's name.
-
plans(optional):
array plans
The application's plans.
-
types(optional):
array types
The application's types.
Nested Schema : links
Type:
array
HATEOAS links for the application.
Show Source
-
Array of:
object GenericLink
HATEOAS generic link representation.
Nested Schema : plans
Type:
array
The application's plans.
Show Source
-
Array of:
object PlanForApplication
Application-specific plan resource representation.
Nested Schema : GenericLink
Type:
object
HATEOAS generic link representation.
Show Source
-
href:
string
Link reference string.
-
method(optional):
string
HTTP method used with the link.
-
rel:
string
Link relation string Value is either
canonical
or a specific string value. -
templated(optional):
string
Allowed Values:
[ "true", "false" ]
Indicates if the link has templated parts.
Nested Schema : PlanForApplication
Type:
object
Application-specific plan resource representation.
Show Source
-
constraints(optional):
object Constraints
Plan subscription constraints.
-
description(optional):
string
The application plan's description.
-
entitlements(optional):
array entitlements
List of APIs the application registers to.
-
icon(optional):
string
The plan's icon.
-
id:
integer(int32)
The application plan's ID.
-
links(optional):
array links
HATEOAS links.
-
name:
string
The application plan's name.
-
publicationSettings(optional):
object PublicationSettings
Publication settings for the given plan.
-
publishedState:
boolean
Default Value:
false
{dto.PlanForApplication.publishedState} -
registrationId:
integer(int32)
The contract's ID.
-
registrationState:
string
Allowed Values:
[ "SUBSCRIBED", "REQUESTING", "SUSPENDED", "REJECTED" ]
The contract's state. -
state:
string
Allowed Values:
[ "ACTIVE", "INACTIVE" ]
The application plan's state. -
vanityName:
string
{dto.PlanForApplication.vanityName}
Nested Schema : Constraints
Type:
object
Plan subscription constraints.
Show Source
-
rate(optional):
object Rate
Rate for plan subscription constraints.
Nested Schema : links
Type:
array
HATEOAS links.
Show Source
-
Array of:
object GenericLink
HATEOAS generic link representation.
Nested Schema : PublicationSettings
Type:
object
Publication settings for the given plan.
Show Source
-
constraints(optional):
object ConstraintSettings
Plan publication setting's constraint display options.
-
description(optional):
object DescriptionSettings
Plan publication setting's description display options.
-
icon(optional):
object IconSettings
Plan publication setting's plan icon options.
-
recommended(optional):
boolean
Default Value:
false
Flag whether the plan should be listed as recommended.
Nested Schema : Rate
Type:
object
Rate for plan subscription constraints.
Show Source
-
invocations(optional):
array invocations
Invocation constraint parameters list.
Nested Schema : invocations
Type:
array
Invocation constraint parameters list.
Show Source
-
Array of:
object Invocation
Plan constraint - invocation parameters.
Nested Schema : Invocation
Type:
object
Plan constraint - invocation parameters.
Show Source
-
limit:
string
Maximum number of invocations for the given period.
-
period:
string
Time period, such as minutes, days, months, etc.
Nested Schema : EntitlementDef
Type:
object
Nested Schema : EntitlementState
Type:
Show Source
object
-
state(optional):
string
The entitlement's state.
-
stateComments(optional):
string
Comments regarding the entitlement's state.
-
stateUpdatedAt(optional):
string
The date and time the entitlement's state was last updated.
-
stateUpdatedBy(optional):
string
The user who last updated the entitlement's state.
Nested Schema : EntitlementMetadata
Type:
Show Source
object
-
createdAt(optional):
string
The date and time the entitlement was created.
-
createdBy(optional):
string
The user who created the entitlement.
-
updatedAt(optional):
string
The date and time the entitlement was last updated.
-
updatedBy(optional):
string
The user who last updated the entitlement.
Nested Schema : ApiIdentity
Type:
Show Source
object
-
name:
string
The API's name.
-
vanityName(optional):
string
The API's vanity name.
-
version:
string
The API's version.
Nested Schema : ApiMetadata
Type:
Show Source
object
-
createdAt(optional):
string
The date and time the API was created.
-
createdBy(optional):
string
The user who created the API.
-
updatedAt(optional):
string
The date and time the API was last updated.
-
updatedBy(optional):
string
The user who last updated the API.
Nested Schema : ApiState
Type:
Show Source
object
-
state(optional):
string
The API's state. Valid values are
ALPHA
,BETA
,DEPRECATED
,RELEASED
, andRETIRED
. -
stateComments(optional):
string
Comments about the API's state.
-
stateUpdatedAt(optional):
string
The date and time the API state was last updated.
-
stateUpdatedBy(optional):
string
The user who last updated the API state.
Nested Schema : ApiIterationId
Type:
Show Source
object
-
iterationId(optional):
string
The API's iteration.
Nested Schema : ApiDetails
Type:
Show Source
object
-
description(optional):
string
The API's description.
-
documentation(optional):
object documentation
Describes the API's documenation resource
-
icon(optional):
string
The API's icon.
-
overview(optional):
object overview
Describes the API's overview text resource.
Nested Schema : ApiImpl
Type:
object
Nested Schema : ApiPublication
Type:
Show Source
object
-
iterationId(optional):
string
The iteration ID of the API published to the Developer Portal.
-
portalUrl(optional):
string
The URL of the API's page on the Developer Portal.
-
state(optional):
string
The API's publication state. This value indicates if the API is published to the Developer Portal. Valid values are
PUBLISHED
andUNPUBLISHED
. -
stateComments(optional):
string
Comments about the publication's state.
-
stateUpdatedAt(optional):
string
The date and time the publication state was last updated.
-
stateUpdatedBy(optional):
string
The user who last updated the publication state.
-
visibility(optional):
string
The API's visibility level.
Nested Schema : documentation
Type:
object
Describes the API's documenation resource
Show Source
-
data(optional):
string
The path to the documentation resource, if attached as a file, the URL of the resource, if added as a link, or the overview text itself, if entered as text.
-
dataType(optional):
string
The method used to attach documentation to the API. Valid values are
link
,file
, andtext
. The value islink
if Apiary documentation is added. -
doctype(optional):
string
The documentation type of the documentation resource. Valid values are markdown, html, and apiary.
Nested Schema : overview
Type:
object
Describes the API's overview text resource.
Show Source
-
data(optional):
string
The name of the resource, if attached as a file, the URL of the resource, if added as a link, or the overview text itself, if entered as text.
-
dataType(optional):
string
The method used to attach overview text to the API. Valid values are
link
,file
, andtext
. -
doctype(optional):
string
The documentation type of the overview text resource. Valid values are
markdown
andhtml
.
Nested Schema : items
Type:
Show Source
object
-
content(optional):
string
-
content-type:
string
The content type of the attached resource, like
text/html; charset=utf-8
. -
pathname:
string
The path to the API resource.
Nested Schema : Plan
Type:
object
Nested Schema : EntitlementPublication
Type:
Show Source
object
-
state(optional):
string
The entitlement's publication state. This value determines if the entitlement is published to the Plan. Valid values are PUBLISHED and UNPUBLISHED.
-
stateComments(optional):
string
Comments about the publication's state.
-
stateUpdatedAt(optional):
string
The date and time the publication state was last updated.
-
stateUpdatedBy(optional):
string
The user who last updated the publication state.
Nested Schema : ConstraintSettings
Type:
object
Plan publication setting's constraint display options.
Show Source
-
rate(optional):
object RateSettings
Plan publication setting's invocation rate display options flag.
Nested Schema : DescriptionSettings
Type:
object
Plan publication setting's description display options.
Show Source
-
displayed(optional):
boolean
Default Value:
false
Display flag (boolean).
Nested Schema : IconSettings
Type:
object
Plan publication setting's plan icon options.
Show Source
-
displayed(optional):
boolean
Default Value:
false
Display flag (boolean).
Nested Schema : RateSettings
Type:
object
Plan publication setting's invocation rate display options flag.
Show Source
-
invocations(optional):
object InvocationSettings
Plan invocation's display options.
Nested Schema : InvocationSettings
Type:
object
Plan invocation's display options.
Show Source
-
displayed(optional):
boolean
Default Value:
false
Display flag (boolean). -
displayText(optional):
string
Text to display.
400 Response
Bad request: indicates a problem with the input parameters.
401 Response
Authentication required.
500 Response
Server error.
Examples
The following example shows how to retrieve a collection of applications the requesting user is authorized to view by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL
curl -i -X GET -u apicsadmin:password https://example.com:443/developers/services/v1/applications
Example of Response Headers
The following shows an example of the response headers.
HTTP/1.1 200 OK Server: Oracle Traffic Director Date: Wed, 20 Dec 2017 05:19:46 GMT Content-type: application/json X-oracle-dms-ecid: 6^3rv0_eR00000000 X-oracle-dms-rid: 0:1
Example of Response Body
The following example shows the contents of the response body in JSON format, including the IDs of each application and HATEOAS links to related resources.
{ "totalResults": 6, "offset": 0, "count": 6, "hasMore": true, "limit": 0, "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "POST", "templated": "false", "rel": "create", "href": "http://example.com:443/developers/services/v1/applications" } ], "items": [ { "plans": [ { "name": "Mobile Device 18.1.1", "registeredApis": [ { "vanityName": "creditcheck", "name": "Mobile Device", "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "GET", "templated": "true", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/apis/creditcheck" }, { "method": "DELETE", "templated": "true", "rel": "unregister", "href": "http://example.com:443/developers/services/v1/plans/102/subscriptions/102" } ], "id": 102, "version": "18.1.1" } ], "registrationId": 101, "description": "default", "links": [ { "method": "POST", "templated": "true", "rel": "register", "href": "http://example.com:443/developers/services/v1/plans/102/subscriptions" } ], "id": 102, "state": "PUBLISHED", "registrationState": "REGISTERED" } ], "name": "Mobile", "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "GET", "templated": "true", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications/100" }, { "method": "PUT", "templated": "true", "rel": "edit", "href": "http://example.com:443/developers/services/v1/applications/100" }, { "method": "DELETE", "templated": "true", "rel": "delete", "href": "http://example.com:443/developers/services/v1/applications/100" }, { "method": "PUT", "templated": "true", "rel": "reissuekey", "href": "http://example.com:443/developers/services/v1/applications/100/key" }, { "method": "GET", "templated": "true", "rel": "analytics", "href": "http://example.com:443/developers/services/v1/analytics/totals/requests" }, { "method": "POST", "templated": "true", "rel": "register", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions" }, { "method": "DELETE", "templated": "true", "rel": "unregister", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions/apiId" } ], "id": 100, "type": "application" }, { "plans": [ { "name": "Mobile Device 18.1.1", "registeredApis": [ { "vanityName": "creditcheck", "name": "Mobile Device", "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "GET", "templated": "true", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/apis/creditcheck" }, { "method": "DELETE", "templated": "true", "rel": "unregister", "href": "http://example.com:443/developers/services/v1/plans/102/subscriptions/102" } ], "id": 102, "version": "18.1.1" } ], "registrationId": 100, "description": "default", "links": [ { "method": "POST", "templated": "true", "rel": "register", "href": "http://example.com:443/developers/services/v1/plans/102/subscriptions" } ], "id": 102, "state": "PUBLISHED", "registrationState": "REGISTERED" } ], "name": "Portal", "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "GET", "templated": "true", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications/101" }, { "method": "PUT", "templated": "true", "rel": "edit", "href": "http://example.com:443/developers/services/v1/applications/101" }, { "method": "DELETE", "templated": "true", "rel": "delete", "href": "http://example.com:443/developers/services/v1/applications/101" }, { "method": "PUT", "templated": "true", "rel": "reissuekey", "href": "http://example.com:443/developers/services/v1/applications/101/key" }, { "method": "GET", "templated": "true", "rel": "analytics", "href": "http://example.com:443/developers/services/v1/analytics/totals/requests" }, { "method": "POST", "templated": "true", "rel": "register", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions" }, { "method": "DELETE", "templated": "true", "rel": "unregister", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions/apiId" } ], "id": 101, "type": "application" }, { "plans": [], "name": "Temperatur", "description": "Application for Temperature", "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "GET", "templated": "true", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications/106" }, { "method": "PUT", "templated": "true", "rel": "edit", "href": "http://example.com:443/developers/services/v1/applications/106" }, { "method": "DELETE", "templated": "true", "rel": "delete", "href": "http://example.com:443/developers/services/v1/applications/106" }, { "method": "PUT", "templated": "true", "rel": "reissuekey", "href": "http://example.com:443/developers/services/v1/applications/106/key" }, { "method": "GET", "templated": "true", "rel": "analytics", "href": "http://example.com:443/developers/services/v1/analytics/totals/requests" }, { "method": "POST", "templated": "true", "rel": "register", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions" }, { "method": "DELETE", "templated": "true", "rel": "unregister", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions/apiId" } ], "id": 106, "type": "application" }, { "plans": [], "name": "Temperature", "description": "Application for Temperature", "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "GET", "templated": "true", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications/102" }, { "method": "PUT", "templated": "true", "rel": "edit", "href": "http://example.com:443/developers/services/v1/applications/102" }, { "method": "DELETE", "templated": "true", "rel": "delete", "href": "http://example.com:443/developers/services/v1/applications/102" }, { "method": "PUT", "templated": "true", "rel": "reissuekey", "href": "http://example.com:443/developers/services/v1/applications/102/key" }, { "method": "GET", "templated": "true", "rel": "analytics", "href": "http://example.com:443/developers/services/v1/analytics/totals/requests" }, { "method": "POST", "templated": "true", "rel": "register", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions" }, { "method": "DELETE", "templated": "true", "rel": "unregister", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions/apiId" } ], "id": 102, "type": "application" }, { "plans": [], "name": "Temperature", "description": "Application for Temperature", "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "GET", "templated": "true", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications/103" }, { "method": "PUT", "templated": "true", "rel": "edit", "href": "http://example.com:443/developers/services/v1/applications/103" }, { "method": "DELETE", "templated": "true", "rel": "delete", "href": "http://example.com:443/developers/services/v1/applications/103" }, { "method": "PUT", "templated": "true", "rel": "reissuekey", "href": "http://example.com:443/developers/services/v1/applications/103/key" }, { "method": "GET", "templated": "true", "rel": "analytics", "href": "http://example.com:443/developers/services/v1/analytics/totals/requests" }, { "method": "POST", "templated": "true", "rel": "register", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions" }, { "method": "DELETE", "templated": "true", "rel": "unregister", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions/apiId" } ], "id": 103, "type": "application" }, { "plans": [], "name": "Temperature1", "description": "Application for Temperature", "links": [ { "method": "GET", "templated": "false", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications" }, { "method": "GET", "templated": "true", "rel": "canonical", "href": "http://example.com:443/developers/services/v1/applications/104" }, { "method": "PUT", "templated": "true", "rel": "edit", "href": "http://example.com:443/developers/services/v1/applications/104" }, { "method": "DELETE", "templated": "true", "rel": "delete", "href": "http://example.com:443/developers/services/v1/applications/104" }, { "method": "PUT", "templated": "true", "rel": "reissuekey", "href": "http://example.com:443/developers/services/v1/applications/104/key" }, { "method": "GET", "templated": "true", "rel": "analytics", "href": "http://example.com:443/developers/services/v1/analytics/totals/requests" }, { "method": "POST", "templated": "true", "rel": "register", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions" }, { "method": "DELETE", "templated": "true", "rel": "unregister", "href": "http://example.com:443/developers/services/v1/plans/planId/subscriptions/apiId" } ], "id": 104, "type": "application" } ] }