Snippets

Get a previous snippet change

Changed on

Returns the changes made on this snippet in this commit.

get/snippets/{workspace}/{encoded_id}/commits/{revision}

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/snippets/{workspace}/{encoded_id}/commits/{revision}
  • Auth
    • OAuth 2
      Authorization code: https://bitbucket.org/site/oauth2/authorize
      Token URL: https://bitbucket.org/site/oauth2/access_token scopes: snippet
    • or HTTP basic
    • or API key in header Authorization

Response

The specified snippet commit.

typestring required
hashstring
datestring date-time
messagestring

Changes

    • warning

      removed the optional property ///////// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • info

      added the optional property ///// to the response with the status