Skip to main content

Update typeTwoResource

PATCH 

/resources/typeTwoResources/:ids/

Update typeTwoResource.

Authorization Action:

resource:typeTwoResources:update

Request

Path Parameters

    ids stringrequired

    Comma-separated globally unique ids (UUID4)

Body

    data objectrequired
    type typerequired

    The type member is used to describe resource objects that share common attributes and relationships.

    id idrequired

    Each resource object’s type and id pair MUST identify a single, unique resource.

    links object
    self object
    oneOf
  • string uri-reference

    a string containing the link's URL

  • attributes object
    cretedAt date
    name string
    relationships object
    typeOneResource object

    a singular 'to-one' relationship

    links object

    optional references to other resource objects

    self object
    oneOf
  • string uri-reference

    a string containing the link's URL

  • related object
    oneOf
  • string uri-reference

    a string containing the link's URL

  • property name* any

    optional references to other resource objects

    data object

    reference to other resource in a to-one relationship

    anyOf
    type typerequired

    The type member is used to describe resource objects that share common attributes and relationships.

    id idrequired

    Each resource object’s type and id pair MUST identify a single, unique resource.

    meta object
    property name* any
    meta object
    property name* any

Responses

Schema
    data objectrequired
    type typerequired

    The type member is used to describe resource objects that share common attributes and relationships.

    id idrequired

    Each resource object’s type and id pair MUST identify a single, unique resource.

    links object
    self object
    oneOf
  • string uri-reference

    a string containing the link's URL

  • attributes object
    cretedAt date
    name stringrequired
    relationships object
    typeOneResource object

    a singular 'to-one' relationship

    links object

    optional references to other resource objects

    self object
    oneOf
  • string uri-reference

    a string containing the link's URL

  • related object
    oneOf
  • string uri-reference

    a string containing the link's URL

  • property name* any

    optional references to other resource objects

    data object

    reference to other resource in a to-one relationship

    anyOf
    type typerequired

    The type member is used to describe resource objects that share common attributes and relationships.

    id idrequired

    Each resource object’s type and id pair MUST identify a single, unique resource.

    meta object
    property name* any
    meta object
    property name* any
    included object[]
  • Array [
  • type typerequired

    The type member is used to describe resource objects that share common attributes and relationships.

    id idrequired

    Each resource object’s type and id pair MUST identify a single, unique resource.

    attributes object
    relationships object
    links object
    oneOf
    title
    meta object
    property name* any
  • ]
  • links object
    first object
    oneOf
  • string uri-reference
  • last object
    oneOf
  • string uri-reference
  • prev object
    oneOf
  • string uri-reference
  • next object
    oneOf
  • string uri-reference
  • oneOf
    title
    jsonapi object

    The server's implementation

    version string
    meta object
    property name* any
Loading...