View application details
/apiplatform/management/v1/applications/{appId}
Returns details of the {appId}
application. 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 and must be issued the Manage Application or View All Details grants for the specified application.
Request
- application/json
-
appId: string
A unique ID referencing a specific application.
-
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. - links(optional): array
Response
- application/json
200 Response
object
-
links(optional):
array links
Includes 'canonical'.
object
-
href(optional):
string
Link href.
-
method(optional):
string
HTTP Operation GET, POST, PUT
-
rel(optional):
string
Link relation.
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 details of an application 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/{appId}
{appId}
is the unique Id for an application. To retrieve available application Ids, see Get 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: Thu, 16 Mar 2017 07:15:26 GMT Content-Length: 1154 Content-Type: application/json X-oracle-dms-ecid: f102c33f-1c5b-4409-806d-03bf5706c492-00026745 X-oracle-dms-rid: 0:1 Via: 1.1 otd_opc Proxy-agent: Oracle-Traffic-Director/12.2.1.0.0
Example of Response Body
The following example shows the contents of the response body in JSON format, including details of the application and HATEOAS links to related operations.
{ "createdAt": "2017-03-13T23:59:25-0700", "types": [ "105" ], "updatedBy": "apicsadmin", "createdBy": "apicsadmin", "contact": {}, "name": "Temperature", "description": "Monitors the temperature", "links": [ { "templated": "true", "method": "GET", "rel": "canonical", "href": "https://example.com:443/apiplatform/management/v1/applications/100" }, { "templated": "true", "method": "GET", "rel": "preview", "href": "https://example.com:443/apiplatform/management/v1/applications/100/preview" }, { "templated": "true", "method": "PUT", "rel": "edit", "href": "https://example.com:443/apiplatform/management/v1/applications/100" }, { "templated": "true", "method": "PUT", "rel": "issueKey", "href": "https://example.com:443/apiplatform/management/v1/applications/100/key" }, { "templated": "true", "method": "GET", "rel": "registrations", "href": "https://example.com:443/apiplatform/management/v1/applications/100/registrations" }, { "templated": "true", "method": "GET", "rel": "grants", "href": "https://example.com:443/apiplatform/management/v1/applications/100/grants" } ], "id": "100", "key": "0de290eb-fd11-4ec5-93c3-3f152d23c98e", "updatedAt": "2017-03-15T03:10:04-0700" }