SnapGPT APIs
SnapGPT APIs list the pipeline standards published for an environment and check a pipeline against them. Use them in scripts and continuous integration and continuous delivery (CI/CD) jobs to apply the same standards that SnapGPT applies in Designer.
| SnapGPT APIs | |
|---|---|
GET
/snapgpt/standards/{env_org}
|
Lists the pipeline standards published for an environment, with the enforcement level of each. |
GET
/snapgpt/standards/{env_org}/{name}
|
Returns one standard, including the Markdown text of its rules. |
POST
/snapgpt/check_pipeline_standards/{env_org}/{project_space}/{project}/{pipeline}
|
Checks a pipeline against the Always standards of an environment and returns pass, fail, or error, with one finding for each broken rule. |