User

Toggle pin

This mutation has no request body.

post/api/v1/user/segments/{id}/pin

Path parameters

idinteger required

Headers

X-CSRF-Tokenstring required

Fresh token returned by GET /api/v1/user/me for this authenticated session.

Response

New pinned state

pinnedboolean required

Changes

Changed in 1 of the 3 revisions of this API.115

  • 996f96a11758115See the full diff
    • added the new required header request parameter X-CSRF-Token

      new-required-request-parameter

    • for the path request parameter id, the min was set to 1.00

      request-parameter-min-set

    • api operation id postUserSegmentsByIdPin was added

      api-operation-id-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog