PayPal · Schema

Link Description

The request-related [HATEOAS link](/api/rest/responses/#hateoas-links) information.

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
href string The complete target URL. To make the related call, combine the method with this [URI Template-formatted](https://tools.ietf.org/html/rfc6570) link. For pre-processing, include the `$`, `(`, and `)` ch
rel string The [link relation type](https://tools.ietf.org/html/rfc5988#section-4), which serves as an ID for a link that unambiguously describes the semantics of the link. See [Link Relations](https://www.iana.
method string The HTTP method required to make the related call.
View JSON Schema on GitHub

JSON Schema

paypal-error-link-description-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/error_link_description",
  "title": "Link Description",
  "description": "The request-related [HATEOAS link](/api/rest/responses/#hateoas-links) information.",
  "type": "object",
  "required": [
    "href",
    "rel"
  ],
  "properties": {
    "href": {
      "description": "The complete target URL. To make the related call, combine the method with this [URI Template-formatted](https://tools.ietf.org/html/rfc6570) link. For pre-processing, include the `$`, `(`, and `)` characters. The `href` is the key HATEOAS component that links a completed call with a subsequent call.",
      "type": "string",
      "minLength": 0,
      "maxLength": 20000,
      "pattern": "^.*$"
    },
    "rel": {
      "description": "The [link relation type](https://tools.ietf.org/html/rfc5988#section-4), which serves as an ID for a link that unambiguously describes the semantics of the link. See [Link Relations](https://www.iana.org/assignments/link-relations/link-relations.xhtml).",
      "type": "string",
      "minLength": 0,
      "maxLength": 100,
      "pattern": "^.*$"
    },
    "method": {
      "description": "The HTTP method required to make the related call.",
      "type": "string",
      "minLength": 3,
      "maxLength": 6,
      "pattern": "^[A-Z]*$",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "DELETE",
        "PATCH"
      ]
    }
  }
}