Get Applications
/apiplatform/management/v1/applications
Retrieves a collection of applications the requesting user is authorized to view. The response also contains HATEOAS links to related operations.
Users requesting this resource must be assigned the API Manager, Application Developer, or Plan Manager role. Applications the user is issued the Manage Application or View All Details grants for are returned.
Request
- application/json
-
expand(optional): array
Collection Format:
csv
Pass optional fields, separated by commas, in this parameter to return them in the response. See the operation's description for a list of expand values. -
fields(optional): array
Collection Format:
csv
Pass optional fields, separated by commas, in this parameter to return them in the response. See the operation's description for a list of field values. -
limit(optional): integer(int32)
Number of items to retrieve.
1
is the minumum;128
is the maximum.Default Value:128
- links(optional): array
-
offset(optional): integer(int32)
Offset the list returned results by this amount. Default is zero.Default Value:
0
- orderBy(optional): array
-
q(optional): string
Pass filtering criteria, using the SCIM filter expression syntax
-
totalResults(optional): boolean
Include the total result count in the response.Default Value:
false
Response
- application/json
200 Response
object
-
count(optional):
integer(int32)
The number of items in this collection.
object
-
links(optional):
array links
Includes 'canonical'.
object
-
totalResults(optional):
integer(int32)
The total number of results available. Only provided if the showTotalResults query parameter is set to true
object
-
href(optional):
string
Link href.
-
method(optional):
string
HTTP Operation GET, POST, PUT
-
rel(optional):
string
Link relation.
object
-
links(optional):
array links
Includes 'canonical'.
object
-
contact(optional):
object contact
The application owner's contact information.
-
description(optional):
string
The application's description.
-
types(optional):
array types
object
-
key(optional):
string
The application's key.
object
-
createdAt(optional):
string
The date and time the application was created.
-
createdBy(optional):
string
The user who created the application.
-
updatedAt(optional):
string
The date and time the application was last updated.
-
updatedBy(optional):
string
The user who last updated the application.
object
-
company(optional):
string
The owner's company.
-
email(optional):
string
The owner's email address.
-
firstName(optional):
string
The owner's first name.
-
lastName(optional):
string
The owner's last name.
-
phone(optional):
string
The owner's phone number.
403 Response
object
-
detail(optional):
string
Detailed error message
-
errorCode(optional):
string
Application specific error code
-
errorDetails(optional):
array errorDetails
additional errors
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error
-
status(optional):
string
HTTP status code
-
title:
string
Summary error message
-
type:
string
Error type
500 Response
object
-
detail(optional):
string
Detailed error message
-
errorCode(optional):
string
Application specific error code
-
errorDetails(optional):
array errorDetails
additional errors
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error
-
status(optional):
string
HTTP status code
-
title:
string
Summary error message
-
type:
string
Error type
Examples
The following example shows how to retrieve the 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
-H "Authorization: Bearer access_token"
https://example.com/apiplatform/management/v1/applications
Example of Response Headers
The following shows an example of the response headers.
HTTP/1.1 200 OK Server: Oracle-Traffic-Director/12.2.1.0.0 Date: Mon, 02 Jan 2017 19:06:43 GMT Content-type: application/json X-oracle-dms-ecid: kKjMg1k4S00000000 X-oracle-dms-rid: 0:1 Via: 1.1 otd_opc Proxy-agent: Oracle-Traffic-Director/12.2.1.0.0 Transfer-encoding: chunked
Example of Response Body
The following example shows the contents of the response body in JSON format, including the details each application and HATEOAS links to related resources.
{ "offset": 0, "count": 5, "limit": 128, "hasMore": false, "links": [ { "method": "GET", "rel": "self", "href": "http://example.com:443/apiplatform/management/v1/applications?offset=0=128" }, { "method": "GET", "rel": "canonical", "href": "http://example.com:443/apiplatform/management/v1/applications" }, { "method": "POST", "rel": "create", "href": "http://example.com:443/apiplatform/management/v1/applications" } ], "items": [ { "createdAt": "2018-02-08T00:39:42-0800", "types": [ "108" ], "updatedBy": "apicsadmin", "createdBy": "apicsadmin", "contact": {}, "name": "Allied Mortgage Calculator", "description": "Fast and easy real estate mortgage payment calculator", "links": [ { "templated": "true", "method": "GET", "rel": "self", "href": "http://example.com:443/apiplatform/management/v1/applications/104" }, { "templated": "true", "method": "GET", "rel": "canonical", "href": "http://example.com:443/apiplatform/management/v1/applications/104" }, { "templated": "true", "method": "GET", "rel": "history", "href": "http://example.com:443/apiplatform/management/v1/applications/104/history" }, { "templated": "true", "method": "PUT", "rel": "edit", "href": "http://example.com:443/apiplatform/management/v1/applications/104" }, { "templated": "true", "method": "PUT", "rel": "issueKey", "href": "http://example.com:443/apiplatform/management/v1/applications/104/key" }, { "templated": "true", "method": "GET", "rel": "subscriptions", "href": "http://example.com:443/apiplatform/management/v1/applications/104/subscriptions" }, { "templated": "true", "method": "GET", "rel": "grants", "href": "http://example.com:443/apiplatform/management/v1/applications/104/grants" } ], "id": "104", "key": "99b7f99c-9999-9db9-a009-f19ec9999ffa", "updatedAt": "2018-02-08T00:39:42-0800" }, { "createdAt": "2018-02-06T22:19:15-0800", "types": [ "108" ], "updatedBy": "apicsadmin", "createdBy": "apicsadmin", "contact": {}, "name": "Sav Test", "links": [ { "templated": "true", "method": "GET", "rel": "self", "href": "http://example.com:443/apiplatform/management/v1/applications/103" }, { "templated": "true", "method": "GET", "rel": "canonical", "href": "http://example.com:443/apiplatform/management/v1/applications/103" }, { "templated": "true", "method": "GET", "rel": "history", "href": "http://example.com:443/apiplatform/management/v1/applications/103/history" }, { "templated": "true", "method": "PUT", "rel": "edit", "href": "http://example.com:443/apiplatform/management/v1/applications/103" }, { "templated": "true", "method": "DELETE", "rel": "delete", "href": "http://example.com:443/apiplatform/management/v1/applications/103" }, { "templated": "true", "method": "PUT", "rel": "issueKey", "href": "http://example.com:443/apiplatform/management/v1/applications/103/key" }, { "templated": "true", "method": "GET", "rel": "subscriptions", "href": "http://example.com:443/apiplatform/management/v1/applications/103/subscriptions" }, { "templated": "true", "method": "GET", "rel": "grants", "href": "http://example.com:443/apiplatform/management/v1/applications/103/grants" } ], "id": "103", "key": "g1e99abc-d99e-99cb-99e2-9999t299d49j", "updatedAt": "2018-02-06T22:19:15-0800" }, { "createdAt": "2018-02-05T10:27:30-0800", "types": [], "updatedBy": "apicsadmin", "createdBy": "apicsadmin", "contact": { "firstName": "user", "lastName": "name", "phone": "(555) 555 5555", "company": "Example Co.", "email": "user.name@example.com" }, "name": "World Weather", "description": "Weather reports and forecasts for the entire world", "links": [ { "templated": "true", "method": "GET", "rel": "self", "href": "http://example.com:443/apiplatform/management/v1/applications/101" }, { "templated": "true", "method": "GET", "rel": "canonical", "href": "http://example.com:443/apiplatform/management/v1/applications/101" }, { "templated": "true", "method": "GET", "rel": "history", "href": "http://example.com:443/apiplatform/management/v1/applications/101/history" }, { "templated": "true", "method": "PUT", "rel": "edit", "href": "http://example.com:443/apiplatform/management/v1/applications/101" }, { "templated": "true", "method": "DELETE", "rel": "delete", "href": "http://example.com:443/apiplatform/management/v1/applications/101" }, { "templated": "true", "method": "PUT", "rel": "issueKey", "href": "http://example.com:443/apiplatform/management/v1/applications/101/key" }, { "templated": "true", "method": "GET", "rel": "subscriptions", "href": "http://example.com:443/apiplatform/management/v1/applications/101/subscriptions" }, { "templated": "true", "method": "GET", "rel": "grants", "href": "http://example.com:443/apiplatform/management/v1/applications/101/grants" } ], "id": "101", "key": "69999-009e-9999-b190-a9e9e999cb9e", "updatedAt": "2018-02-05T11:30:46-0800" }, { "createdAt": "2018-02-05T10:27:30-0800", "types": [], "updatedBy": "apicsadmin", "createdBy": "apicsadmin", "contact": { "firstName": "User", "lastName": "Name", "phone": "555 5555", "company": "Example Co.", "email": "user.name@example.com" }, "name": "Western Real Estate", "description": "View Real Estate Trends, Analysis and Statistics", "links": [ { "templated": "true", "method": "GET", "rel": "self", "href": "http://example.com:443/apiplatform/management/v1/applications/102" }, { "templated": "true", "method": "GET", "rel": "canonical", "href": "http://example.com:443/apiplatform/management/v1/applications/102" }, { "templated": "true", "method": "GET", "rel": "history", "href": "http://example.com:443/apiplatform/management/v1/applications/102/history" }, { "templated": "true", "method": "PUT", "rel": "edit", "href": "http://example.com:443/apiplatform/management/v1/applications/102" }, { "templated": "true", "method": "PUT", "rel": "issueKey", "href": "http://example.com:443/apiplatform/management/v1/applications/102/key" }, { "templated": "true", "method": "GET", "rel": "subscriptions", "href": "http://example.com:443/apiplatform/management/v1/applications/102/subscriptions" }, { "templated": "true", "method": "GET", "rel": "grants", "href": "http://example.com:443/apiplatform/management/v1/applications/102/grants" } ], "id": "102", "key": "20444t-5678-9a99-a9bb-abcfcbe99t9f", "updatedAt": "2018-02-05T11:30:20-0800" }, { "createdAt": "2018-02-08T00:42:27-0800", "types": [ "108" ], "updatedBy": "apicsadmin", "createdBy": "apicsadmin", "contact": {}, "name": "GeoServices", "description": "Mapping, Routing & Navigation Services", "links": [ { "templated": "true", "method": "GET", "rel": "self", "href": "http://example.com:443/apiplatform/management/v1/applications/105" }, { "templated": "true", "method": "GET", "rel": "canonical", "href": "http://example.com:443/apiplatform/management/v1/applications/105" }, { "templated": "true", "method": "GET", "rel": "history", "href": "http://example.com:443/apiplatform/management/v1/applications/105/history" }, { "templated": "true", "method": "PUT", "rel": "edit", "href": "http://example.com:443/apiplatform/management/v1/applications/105" }, { "templated": "true", "method": "PUT", "rel": "issueKey", "href": "http://example.com:443/apiplatform/management/v1/applications/105/key" }, { "templated": "true", "method": "GET", "rel": "subscriptions", "href": "http://example.com:443/apiplatform/management/v1/applications/105/subscriptions" }, { "templated": "true", "method": "GET", "rel": "grants", "href": "http://example.com:443/apiplatform/management/v1/applications/105/grants" } ], "id": "105", "key": "20t-5678-9a99-a9bb-abcfcbe99t9f", "updatedAt": "2018-02-08T00:42:27-0800" } ] }