Get Requests From Application

Get Requests From Application

Return a list of requests that match the application given which belongs to a specific catalog of the organization. The id of the organization is fetched from CSP token.

Request
URI
GET
https://{api_host}/v1/catalogs/{catalog_id}/applications/{application_id}/requests
COPY
Path Parameters
catalog_id
Required

A string as the identifier of a catalog

application_id
Required

A string as identifier of an application

Query Parameters
request_type
Optional

It distinguish between the add and remove requests

request_type example
add

Authentication
This operation uses the following authentication methods.
Responses
200

List of requests of an application. There will be one add request and at most one remove request.

Returns Array of CatalogApplicationRequest of type(s) application/json
[
    "CatalogApplicationRequest Object"
]

400

An error related to the request

Returns ConstraintsViolationsError of type(s) application/problem+json
This response body class contains all of the following: InlineConstraintsViolationsError0
"ConstraintsViolationsError Object"
array of object
violations
Required

It represents a constraints violation error


403

The requesting user is not authorized to get the requests

Returns Error403 of type(s) application/problem+json
This response body class contains all of the following: InlineError4030
"Error403 Object"

404

The requested catalog is not found

Returns Error404 of type(s) application/problem+json
This response body class contains all of the following: InlineError4040
"Error404 Object"

500

An internal server error object

Returns Error500 of type(s) application/problem+json
This response body class contains all of the following: InlineError5000
"Error500 Object"

503

The server is temporarily unavailable

Returns Error503 of type(s) application/problem+json
This response body class contains all of the following: InlineError5030
"Error503 Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/v1/catalogs/{catalog_id}/applications/{application_id}/requests