Get application types
get
/apiplatform/developers/v1/applications/types
Returns a list of valid application types.
All authenticated users can request this resource.
Request
There are no request parameters for this operation.
Response
Supported Media Types
- application/json
200 Response
JSON structure with list of available application types.
Body
Root Schema : /paths/~1v1~1applications~1types/get/responses/200/schema
Type:
array
-
Type:
object
ApplicationTypeApplication type resource representation.
Nested Schema : ApplicationType
Type:
object
Application type resource representation.
- id
-
Type:
integer
(int32
)Required:true
An application type ID. - name
-
Type:
object
nameRequired:true
Additional Properties Allowed: additionalPropertiesMap of application type representations for different languages.
Nested Schema : name
Type:
object
-
Type:
string
Map of application type representations for different languages.
400 Response
Bad request: indicates a problem with the input parameters.
401 Response
Authentication required.
500 Response
Server error.
Examples
The following example shows how to retrieve all available application 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/apiplatform/developers/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/12.2.1.0.0 Date: Sun, 01 Jan 2017 16:03:30 GMT Content-length: 385 Content-type: application/json X-oracle-dms-ecid: PZaRV1Q4S00000000 X-oracle-dms-rid: 0:1 Via: 1.1 otd_opc Proxy-agent: Oracle-Traffic-Director/12.2.1.0.0
Example of Response Body
The following example shows the contents of the response body in JSON format, including the available application types in the Developer Portal.
[ { "id": 100000, "name": { "en": "Integration" } }, { "id": 100001, "name": { "en": "Backend Service" } }, { "id": 100002, "name": { "en": "Web Application" } }, { "id": 100003, "name": { "en": "Mobile - Windows" } }, { "id": 100004, "name": { "en": "Mobile - iOS" } }, { "id": 100005, "name": { "en": "Mobile - Android" } }, { "id": 100006, "name": { "en": "Game" } }, { "id": 100007, "name": { "en": "Thing" } }, { "id": 100008, "name": { "en": "Desktop App" } } ]