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 Top

Response

200 Response

The collection of application types.
Body ()
Root Schema : GetApplicationTypesResponse
Match All
Show Source
Nested Schema : GetApplicationTypesResponse-allOf[0]
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Type
Type: object
Show Source

403 Response

Forbidden.
Body ()
Root Schema : Error
Type: object
Show Source
Nested Schema : errorDetails
Type: array
additional errors
Show Source

500 Response

Unexpected error.
Body ()
Root Schema : Error
Type: object
Show Source
Nested Schema : errorDetails
Type: array
additional errors
Show Source
Back to Top

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"
        }
    ]
}
Back to Top