POST /runs/:id/git-credential
POST
/runs/{id}/git-credential
const url = 'https://example.com/runs/example/git-credential';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/runs/example/git-credentialWarren-c9ac: the in-pod credential re-mint (forge-contract.md §4.1 window 3) — the pod requests a freshly-minted push credential over the same authenticated callback channel instead of trusting the mounted Secret.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Successful response.
default
Section titled “default”Error response (see src/core/errors.ts).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
hint
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "hint": "example" }}