Get Notification Types

Get Notification Types
Get all notification types available

Get all notification types available

Request
URI
GET
https://api.app-catalog.vmware.com/v1/notification-types
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

List of notification types

[
    {
        "type": "CRITICAL_CVE_PATCH_AVAILABLE",
        "label": "Critical CVE Patch Available",
        "description": "A security update that fixes a critical vulnerability is available for one or more of your images."
    }
]
array of object
Optional

Information about a notification type


400

An error related to the request

Returns ConstraintsViolationsError of type(s) application/problem+json
This response body class contains all of the following: Error
{
    "type": "https://example.com/probs/validation-error",
    "title": "Validation error",
    "status": 400,
    "detail": "There was an error validating the request",
    "violations": [
        {
            "field": "amount",
            "message": "It should be greater than zero"
        }
    ]
}

403

The requesting user is not authorized to get the notification types

Returns Error403 of type(s) application/problem+json
This response body class contains all of the following: Error
{
    "type": "https://example.com/probs/out-of-credit",
    "title": "You do not have enough credit.",
    "status": 403,
    "detail": "Your current balance is 30, but that costs 50",
    "instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}

500

An internal server error object

Returns Error500 of type(s) application/problem+json
This response body class contains all of the following: Error
{
    "type": "https://example.com/probs/out-of-credit",
    "title": "You do not have enough credit.",
    "status": 403,
    "detail": "Your current balance is 30, but that costs 50",
    "instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}

503

The server is temporarily unavailable

Returns Error503 of type(s) application/problem+json
This response body class contains all of the following: Error
{
    "type": "https://example.com/probs/out-of-credit",
    "title": "You do not have enough credit.",
    "status": 403,
    "detail": "Your current balance is 30, but that costs 50",
    "instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/v1/notification-types