Templates

Issue a template project Git credential

Exchanges the caller's Samva authorization for a one-hour Git credential scoped to the template repository.

post/v1/templates/{id}/repository/credentials

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/templates/{id}/repository/credentials
  • Auth: API key in header x-api-key

Path parameters

idstring required

Request body

scope'read' | 'write' required

Response

Success

remotestring required
username'x-access-token' required
passwordstring required
expiresAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.