{ "opencollection": "1.0.0", "info": { "name": "Infrahub Artifact API", "version": "1.10.0" }, "items": [ { "info": { "name": "Artifact", "type": "folder" }, "items": [ { "info": { "name": "Get Artifact", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/artifact/:artifact_id", "params": [ { "name": "artifact_id", "value": "", "type": "path" }, { "name": "branch", "value": "", "type": "query", "description": "Name of the branch to use for the query" }, { "name": "at", "value": "", "type": "query", "description": "Time to use for the query, in absolute or relative format" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get Artifact" }, { "info": { "name": "Generate Artifact", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/artifact/generate/:artifact_definition_id", "params": [ { "name": "artifact_definition_id", "value": "", "type": "path" }, { "name": "branch", "value": "", "type": "query", "description": "Name of the branch to use for the query" }, { "name": "at", "value": "", "type": "query", "description": "Time to use for the query, in absolute or relative format" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Generate Artifact" } ] } ], "bundled": true }