Get application types
get
/developers/services/v1/applications/types
Returns the available application types.
Users requesting this resource must be assigned the API Manager, Application Developer, or Plan Manager roles.
Request
There are no request parameters for this operation.
Back to TopResponse
200 Response
The collection of application types.
Nested Schema : Type
Type:
Show Source
object
-
id:
string
The application type's ID.
-
name(optional):
string
The application type's display name.
403 Response
Forbidden.
Root Schema : Error
Type:
Show Source
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
Unexpected error.
Root Schema : Error
Type:
Show Source
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 a collection of applications types 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:443/developers/services/v1/applications/types
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 all application types:
{ "items": [ { "name": { "localized": "Backend Service", "en": "Backend Service" }, "id": "101" }, { "name": { "localized": "Mobile - Android", "en": "Mobile - Android" }, "id": "105" }, { "name": { "localized": "Web Application", "en": "Web Application" }, "id": "102" }, { "name": { "localized": "Mobile - Windows", "en": "Mobile - Windows" }, "id": "103" }, { "name": { "localized": "Game", "en": "Game" }, "id": "106" }, { "name": { "localized": "Integration", "en": "Integration" }, "id": "100" }, { "name": { "localized": "Desktop App", "en": "Desktop App" }, "id": "108" }, { "name": { "localized": "Mobile - iOS", "en": "Mobile - iOS" }, "id": "104" } ] }