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:
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}
object-
rate(optional):
object Rate
Rate for plan subscription constraints.
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.
objectobject-
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.
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.
object-
name:
string
The API's name.
-
vanityName(optional):
string
The API's vanity name.
-
version:
string
The API's version.
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.
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.
object-
iterationId(optional):
string
The API's iteration.
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.
objectobject-
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
PUBLISHEDandUNPUBLISHED. -
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.
object-
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 islinkif Apiary documentation is added. -
doctype(optional):
string
The documentation type of the documentation resource. Valid values are markdown, html, and apiary.
object-
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
markdownandhtml.
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.
objectobject-
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.
object-
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
-u apicsadmin:password
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"
}