Get a machine template
Changed onDeprecated: use Environments (/api/v0/environments) instead. Returns details of a specific machine template. Returns 409 when the organization requires personal GitLab Self-Hosted connections and the GitLab project behind the template was renamed or moved since repositories were last synced; an admin must sync repositories before the request can succeed.
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
Template ID
Headers
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
Template ID
Repository URL
Human-readable template name
Default branch name
User ID of creator
Creation timestamp (ms)
Build status
Last update timestamp (ms)
Shared environment variables
User-specific environment variables
Setup script to run after cloning
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking