capabilities.work

Update a snippet at an explicit revision

One step with Bitbucket. We can help you get access.

Get something done

Update a snippet at an explicit revision

Use Bitbucket: its Bitbucket Snippets API lets you update a snippet at an explicit revision in a single step (PUT /snippets/{workspace}/{encoded_id}/{node_id}). capabilities.work can help you get signed up and connected.

  • Can I update a snippet only if it is still at the revision I last saw?
  • Why does updating a snippet at an older revision fail?
Say it to your AI assistant
  • Update snippet {encoded_id} in workspace {workspace} at tip revision {node_id}.
  • Edit snippet {encoded_id} owned by {workspace}, guarding on head revision {node_id}.
For your developer

PUT /snippets/{workspace}/{encoded_id}/{node_id} in Bitbucket Snippets API. Full spec on APIs.io.