Pinning

Replace pinned content

Changed on

Updates metadata and settings for an existing pin.

Modifies the name, origins, or metadata of a pinned item without changing the CID. Useful for reorganizing or updating pin information.

See also:.*

post/pins/{requestid}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pins/{requestid}
  • Auth: none declared

Path parameters

requestidstring required

Unique identifier for the pin operation. Example: bafkreiexample

Request body

cidstring required
metaobject
namestring
originsstring[]

Response

Successful response

createdstring date-time required
infoobject
requestidstring required
statusstring required

Changes

    • breaking

      removed the success response with the status

    • info

      added the non-success response with the status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status