Skip to main content

client.adt.gcts

Different URL namespace

gCTS is not under /sap/bc/adt/ — it lives at /sap/bc/cts_abapvcs/.... Exposed here as client.adt.gcts.* for parity with sapcli's sap gcts surface.

Sub-namespaces

client.adt.gcts.repository

MethodHTTPPathSummary
.list()GET/sap/bc/cts_abapvcs/repositoryList repositories
.get(rid)GET.../repository/{rid}Get one
.create(body)POST.../repositoryCreate
.delete(rid)DELETE.../repository/{rid}Delete
.clone(rid)POST.../repository/{rid}/cloneClone
.pullByCommit(rid, ...)GET.../repository/{rid}/pullByCommitPull by commit
.push(rid)GET.../repository/{rid}/pushPush
.switch(rid, branch)GET.../repository/{rid}/branches/{branch}/switchSwitch branch
.getCommit(rid, ...)GET.../repository/{rid}/getCommitResolve commit
.getObjects(rid, ...)GET.../repository/{rid}/getObjectsObjects in commit
.update(rid)POST.../repository/{rid}Update repo metadata

client.adt.gcts.branches

MethodHTTPPathSummary
.list(rid)GET.../repository/{rid}/branchesList
.create(rid, ...)POST.../repository/{rid}/branchesCreate
.delete(rid, name)DELETE.../repository/{rid}/branches/{name}Delete
.switch(rid, currentBranch, ...)GET.../repository/{rid}/branches/{current}/switchSwitch

client.adt.gcts.commits

MethodHTTPPathSummary
.create(rid, body)POST.../repository/{rid}/commitCommit

client.adt.gcts.config

MethodHTTPPathSummary
.get(rid, key)GET.../config/{key}Read config value
.set(rid, body)POST.../configSet config value
.delete(rid, key)DELETE.../config/{key}Delete config value

Schema

Source: adt-contracts/src/adt/gcts/

See also