Get details for an application

get

/apiplatform/developers/v1/applications/{applicationId}

Returns details about the {applicationId} application.

All authenticated users can request this resource. Only details for applications that the user is issued the Manage Application or View All Details application grant for are returned.

Request

Path Parameters
applicationId
Type: string
Required: true
The application's ID.

Response

Supported Media Types
  • application/json
200 Response
JSON structure with details for the application.
Body
Application resource representation.
Root Schema : Application
Type: object
Application resource representation.
Nested Schema : plans
Type: array
The application's plans.
Nested Schema : types
Type: array
The application's types.
Nested Schema : PlanForApplication
Type: object
Application-specific plan resource representation.
Nested Schema : registeredApis
Type: array
List of APIs the application registers to.
Nested Schema : RegisteredApi
Type: object
Registered API resource representation.
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 list an application’s details (with an applicationId of 120) 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/apiplatform/developers/v1/applications/120

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: Sun, 01 Jan 2017 16:08:47 GMT
Content-length: 1525
Content-type: application/json
X-oracle-dms-ecid: TQboO071S00000000
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 about the application and HATEOAS links to related operations.

{
  "applicationKey": "25f1f87a-4c9c-4609-b158-4fd81f4f5a26",
  "contactCompany": "",
  "contactEmail": "",
  "contactFirstName": "",
  "contactLastName": "",
  "contactLdapName": "",
  "contactPhone": "",
  "createdAt": "2016-12-05T16:47:21+0000",
  "createdBy": "weblogic",
  "description": "WeatheriOSApp",
  "id": 120,
  "lastUpdatedAt": "2016-12-05T16:52:50+0000",
  "lastUpdatedBy": "weblogic",
  "links": [
    {
      "href": "https://example.com:443/apiplatform/developers/v1/applications/120",
      "method": "GET",
      "rel": "canonical",
      "templated": "true"
    },
    {
      "href": "https://example.com:443/apiplatform/analytics/v1/totals/requests",
      "method": "GET",
      "rel": "analytics",
      "templated": "true"
    },
    {
      "href": "https://example.com:443/apiplatform/management/v1/applications/120",
      "method": "PUT",
      "rel": "edit",
      "templated": "true"
    },
    {
      "href": "https://example.com:443/apiplatform/management/v1/applications/120",
      "method": "DELETE",
      "rel": "delete",
      "templated": "true"
    },
    {
      "href": "https://example.com:443/apiplatform/management/v1/applications/120/grants",
      "method": "GET",
      "rel": "manage",
      "templated": "true"
    },
    {
      "href": "https://example.com:443/apiplatform/management/v1/applications/120/key",
      "method": "PUT",
      "rel": "reissuekey",
      "templated": "true"
    },
    {
      "href": "https://example.com:443/apiplatform/management/v1/plans/planId/registrations",
      "method": "POST",
      "rel": "register",
      "templated": "true"
    },
    {
      "href": "https://example.com:443/apiplatform/management/v1/plans/planId/registrations/apiId",
      "method": "DELETE",
      "rel": "unregister",
      "templated": "true"
    }
  ],
  "name": "WeatheriOSApp",
  "plans": [],
  "types": [
    100002
  ]
}