Get details for an application
/developers/services/v1/applications/{id}
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
-
applicationId: string
The application's ID.
Response
- application/json
200 Response
object-
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.
array-
Array of:
object GenericLink
HATEOAS generic link representation.
array-
Array of:
object PlanForApplication
Application-specific plan resource representation.
object-
href:
string
Link reference string.
-
method(optional):
string
HTTP method used with the link.
-
rel:
string
Link relation string Value is either
canonicalor a specific string value. -
templated(optional):
string
Allowed Values:
[ "true", "false" ]Indicates if the link has templated parts.
object-
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:
falseThe published state of the plan. -
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
The plan's vanity name.
object-
rate(optional):
object Rate
Rate for plan subscription constraints.
array-
Array of:
object Entitlement
Entitlement resource representation.
array-
Array of:
object GenericLink
HATEOAS generic link representation.
object-
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:
falseFlag whether the plan should be listed as recommended.
object-
invocations(optional):
array invocations
Invocation constraint parameters list.
array-
Array of:
object Invocation
Plan constraint - invocation parameters.
object-
limit:
string
Maximum number of invocations for the given period.
-
period:
string
Time period, such as minutes, days, months, etc.
object-
constraints(optional):
object Constraints
Plan subscription constraints.
-
description(optional):
string
The API's description.
-
endpoints(optional):
array endpoints
The list of endpoints for this API.
-
entitlementId:
integer(int32)
The API contract ID.
-
icon(optional):
string
The API's icon data (base64 encoded).
-
id:
integer(int32)
The API's ID.
-
links(optional):
array links
HATEOAS links
-
name:
string
The API's name.
-
state:
string
The API contract state (currently ACTIVE/INACTIVE).
-
unpublished(optional):
boolean
Default Value:
falseFlag indicating if the API was unpublished. -
vanityName:
string
The API's vanity name.
-
version:
string
The API's version.
array-
Array of:
object Endpoint
Endpoint resource representation.
array-
Array of:
object GenericLink
HATEOAS generic link representation.
object-
gateway(optional):
object Gateway
-
state(optional):
string
Endpoint state value.
-
urls(optional):
array urls
List of endpoint URL addresses.
objectobject-
rate(optional):
object RateSettings
Plan publication setting's invocation rate display options flag.
object-
displayed(optional):
boolean
Default Value:
falseDisplay flag (boolean).
object-
displayed(optional):
boolean
Default Value:
falseDisplay flag (boolean).
object-
invocations(optional):
object InvocationSettings
Plan invocation's display options.
object-
displayed(optional):
boolean
Default Value:
falseDisplay flag (boolean). -
displayText(optional):
string
Text to display.
400 Response
401 Response
404 Response
500 Response
Examples
The following example shows how to retrieve details about the {applicationId} application 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:443/developers/services/v1/applications/{id}
{id} is the unique ID for an application. To retrieve available applications, 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 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 details about the application and HATEOAS links to related operations.
{
"contactCompany": "oracle",
"lastUpdatedBy": "admin",
"types": [],
"contactEmail": "temp@oracle.com",
"lastUpdatedAt": "2017-12-20T23:09:39-0800",
"contactFirstName": "John",
"applicationKey": "25f1f87a-4c9c-4609-b158-4fd81f4f5a26",
"description": "Application for Temperature",
"contactLdapName": "",
"createdAt": "2017-12-20T22:30:24-0800",
"createdBy": "admin",
"plans": [],
"name": "Temperature",
"contactLastName": "Fernandaz",
"links": [
{
"method": "GET",
"templated": "true",
"rel": "canonical",
"href": "http://example.com:443/developers/services/v1/applications/110"
},
{
"method": "GET",
"templated": "true",
"rel": "analytics",
"href": "http://example.com:443/developers/services/v1/analytics/totals/requests"
},
{
"method": "PUT",
"templated": "true",
"rel": "edit",
"href": "http://example.com:443/developers/services/v1/applications/110"
},
{
"method": "DELETE",
"templated": "true",
"rel": "delete",
"href": "http://example.com:443/developers/services/v1/applications/110"
},
{
"method": "GET",
"templated": "true",
"rel": "manage",
"href": "http://example.com:443/developers/services/v1/applications/110/grants"
},
{
"method": "PUT",
"templated": "true",
"rel": "reissuekey",
"href": "http://example.com:443/developers/services/v1/applications/110/key"
},
{
"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": 110,
"contactPhone": "8765432"
}