Get applications
/apiplatform/developers/v1/applications
All authenticated users can request this resource. Only applications that the user is issued the Manage Application or View All Details application grant for are returned.
Request
- editable
-
Type:
booleanDetermines if only editable applications (those the user is issued the Manage Application grant for) are returned. A value oftruereturns only editable applications; all applications are returned otherwise or if this parameter is absent.false - limit
-
Type:
integer(int32)Requested limit for the results list. - offset
-
Type:
integer(int32)Requested offset in the results list. - orderBy
-
Type:
arrayCollection Format:multi{ApplicationRestService.getApplicationList.param.orderBy}-
Type:
stringDefault Value:name ASC
-
- q
-
Type:
string{ApplicationRestService.getApplicationList.param.query}
Response
- application/json
object- count
-
Type:
integer(int32)Item count in this response. - filters
-
Type:
arrayfiltersList of filters applicable for the current API list. This isnullby default. - hasMore
-
Type:
booleanDefault Value:falseIndicates if there are more results after the current batch. - items
-
Type:
arrayitemsRequired:trueActual response items. - limit
-
Type:
integer(int32)Paging limit. - links
-
Type:
arraylinksHATEOAS links. - offset
-
Type:
integer(int32)Paging offset. - states
-
Type:
arraystatesOptional list of API states. This isnullby default. - totalResults
-
Type:
integer(int32)Response item count (excluding the paging parameters).
arraynull by default.-
Type:
string
object- applicationKey
-
Type:
stringRequired:trueThe application's key. - contactCompany
-
Type:
stringThe owner's company. - contactEmail
-
Type:
stringThe owner's email address. - contactFirstName
-
Type:
stringThe owner's first name. - contactLastName
-
Type:
stringThe owner's last name. - contactLdapName
-
Type:
stringThe owner's LDAP user name. - contactPhone
-
Type:
stringThe owner's phone number. - createdAt
-
Type:
stringThe date and time the application was created. - createdBy
-
Type:
stringThe user who created the application. - description
-
Type:
stringThe application's description. - id
-
Type:
integer(int32)Required:trueThe application's ID. - lastUpdatedAt
-
Type:
stringThe date and time the application was last updated. - lastUpdatedBy
-
Type:
stringThe user who last updated the application. - links
-
Type:
arraylinksHATEOAS links for the application. - name
-
Type:
stringRequired:trueThe application's name. - plans
-
Type:
arrayplansThe application's plans. - types
-
Type:
arraytypesThe application's types.
array-
Type:
objectGenericLinkHATEOAS generic link representation
array-
Type:
objectPlanForApplicationApplication-specific plan resource representation.
object- href
-
Type:
stringRequired:trueLink reference string. - method
-
Type:
stringHTTP method used with the link. - rel
-
Type:
stringRequired:trueLink relation string, eithercanonicalor a specific string value. - templated
-
Type:
stringAllowed Values:[ "true", "false" ]Indicates whether the link has templated parts.
object- description
-
Type:
stringThe application plan's description. - id
-
Type:
integer(int32)Required:trueThe application plan's ID. - links
-
Type:
arraylinksHATEOAS links. - name
-
Type:
stringRequired:trueThe application plan's name. - registeredApis
-
Type:
arrayregisteredApisList of APIs the application registers to. - registrationId
-
Type:
integer(int32)Required:trueThe contract's ID. - registrationState
-
Type:
stringRequired:trueAllowed Values:[ "REGISTERED", "REQUESTING", "SUSPENDED", "REJECTED" ]The contract's state. - state
-
Type:
stringRequired:trueAllowed Values:[ "PUBLISHED", "UNPUBLISHED" ]The application plan's state.
array-
Type:
objectRegisteredApiRegistered API resource representation.
object- description
-
Type:
stringThe API's description. - id
-
Type:
integer(int32)Required:trueThe API's ID. - links
-
Type:
arraylinksHATEOAS links - name
-
Type:
stringThe API's name. - unpublished
-
Type:
booleanDefault Value:falseFlag indicating if the API was unpublished. - vanityName
-
Type:
stringRequired:trueThe API's vanity name. - version
-
Type:
stringThe API's ID.
Examples
The following example shows how to retrieve details about applications the requesting user can view in the Oracle API Platform Cloud Service Developer Portal 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
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 15:57:09 GMT Content-type: application/json X-oracle-dms-ecid: lBh1A1kGW00000000 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 details about the applications the requesting user can view in the Developer Portal and HATEOAS links to related operations.
{
"count": 3,
"hasMore": false,
"items": [
{
"type": "application",
"description": "WeatheriOSApp",
"id": 119,
"links": [
{
"href": "https://example.com:443/apiplatform/developers/v1/applications",
"method": "GET",
"rel": "canonical",
"templated": "false"
},
{
"href": "https://example.com:443/apiplatform/developers/v1/applications/119",
"method": "GET",
"rel": "canonical",
"templated": "true"
},
{
"href": "https://example.com:443/apiplatform/management/v1/applications/119",
"method": "PUT",
"rel": "edit",
"templated": "true"
},
{
"href": "https://example.com:443/apiplatform/management/v1/applications/119",
"method": "DELETE",
"rel": "delete",
"templated": "true"
},
{
"href": "https://example.com:443/apiplatform/management/v1/applications/119/key",
"method": "PUT",
"rel": "reissuekey",
"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/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": []
},
{
"type": "application",
"description": "MyRegisterAPP Description",
"id": 120,
"links": [
{
"href": "https://example.com:443/apiplatform/developers/v1/applications",
"method": "GET",
"rel": "canonical",
"templated": "false"
},
{
"href": "https://example.com:443/apiplatform/developers/v1/applications/120",
"method": "GET",
"rel": "canonical",
"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/key",
"method": "PUT",
"rel": "reissuekey",
"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/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": "APIPortalRegisterApp2",
"plans": []
},
{
"type": "application",
"description": "MyRegisterAPP Description",
"id": 121,
"links": [
{
"href": "https://example.com:443/apiplatform/developers/v1/applications",
"method": "GET",
"rel": "canonical",
"templated": "false"
},
{
"href": "https://example.com:443/apiplatform/developers/v1/applications/121",
"method": "GET",
"rel": "canonical",
"templated": "true"
},
{
"href": "https://example.com:443/apiplatform/management/v1/applications/121",
"method": "PUT",
"rel": "edit",
"templated": "true"
},
{
"href": "https://example.com:443/apiplatform/management/v1/applications/121",
"method": "DELETE",
"rel": "delete",
"templated": "true"
},
{
"href": "https://example.com:443/apiplatform/management/v1/applications/121/key",
"method": "PUT",
"rel": "reissuekey",
"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/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": "APIPortalRegisterApp3",
"plans": []
}
],
"limit": 0,
"links": [
{
"href": "https://example.com:443/apiplatform/developers/v1/applications",
"method": "GET",
"rel": "canonical",
"templated": "false"
},
{
"href": "https://example.com:443/apiplatform/management/v1/applications",
"method": "POST",
"rel": "create",
"templated": "false"
}
],
"offset": 0
}