MCPcopy Create free account
hub / github.com/decaporg/decap-cms / get

Function get

cypress/plugins/bitbucket.js:57–63  ·  view source on GitHub ↗
(token, path)

Source from the content-addressed store, hash-verified

55const API_URL = 'https://api.bitbucket.org/2.0/';
56
57function get(token, path) {
58 return fetch(`${API_URL}${path}`, {
59 headers: {
60 Authorization: `Bearer ${token}`,
61 },
62 }).then(r => r.json());
63}
64
65function post(token, path, body) {
66 return fetch(`${API_URL}${path}`, {

Callers 2

getUserFunction · 0.70
resetOriginRepoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected