{ "opencollection": "1.0.0", "info": { "name": "Stacker Accounts Records API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "X-Integration-Key", "value": "{{X-Integration-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Records", "type": "folder" }, "items": [ { "info": { "name": "Search Records", "type": "http" }, "http": { "method": "POST", "url": "https://api.go.stackerhq.com/api/external/objects/:object_sid/search/", "headers": [ { "name": "X-Account-Id", "value": "" }, { "name": "X-Stack-Id", "value": "" } ], "params": [ { "name": "object_sid", "value": "", "type": "path", "description": "The object SID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Integration-Key", "value": "{{X-Integration-Key}}", "placement": "header" } }, "docs": "Returns a paginated list of records within the specified object. Supports filtering, sorting, field selection, and full-text search. Returns JSON by default; set Accept: text/csv to receive CSV output." }, { "info": { "name": "Create Record", "type": "http" }, "http": { "method": "POST", "url": "https://api.go.stackerhq.com/api/external/objects/:object_sid/records/", "headers": [ { "name": "X-Account-Id", "value": "" }, { "name": "X-Stack-Id", "value": "" } ], "params": [ { "name": "object_sid", "value": "", "type": "path", "description": "The object SID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Integration-Key", "value": "{{X-Integration-Key}}", "placement": "header" } }, "docs": "Creates a new record in the specified object." }, { "info": { "name": "Get Record", "type": "http" }, "http": { "method": "GET", "url": "https://api.go.stackerhq.com/api/external/objects/:object_sid/records/:record_sid/", "headers": [ { "name": "X-Account-Id", "value": "" }, { "name": "X-Stack-Id", "value": "" } ], "params": [ { "name": "object_sid", "value": "", "type": "path" }, { "name": "record_sid", "value": "", "type": "path" }, { "name": "include_fields", "value": "", "type": "query", "description": "JSON array string of field API names to include in response" } ], "auth": { "type": "apikey", "key": "X-Integration-Key", "value": "{{X-Integration-Key}}", "placement": "header" } }, "docs": "Returns a single record by its SID." }, { "info": { "name": "Update Record", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.go.stackerhq.com/api/external/objects/:object_sid/records/:record_sid/", "headers": [ { "name": "X-Account-Id", "value": "" }, { "name": "X-Stack-Id", "value": "" } ], "params": [ { "name": "object_sid", "value": "", "type": "path" }, { "name": "record_sid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Integration-Key", "value": "{{X-Integration-Key}}", "placement": "header" } }, "docs": "Partially updates a record. Only provided fields are updated." }, { "info": { "name": "Delete Record", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.go.stackerhq.com/api/external/objects/:object_sid/records/:record_sid/", "headers": [ { "name": "X-Account-Id", "value": "" }, { "name": "X-Stack-Id", "value": "" } ], "params": [ { "name": "object_sid", "value": "", "type": "path" }, { "name": "record_sid", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "X-Integration-Key", "value": "{{X-Integration-Key}}", "placement": "header" } }, "docs": "Deletes a record by its SID." }, { "info": { "name": "Bulk Upsert Records", "type": "http" }, "http": { "method": "POST", "url": "https://api.go.stackerhq.com/api/external/objects/:object_sid/bulk-records/", "headers": [ { "name": "X-Account-Id", "value": "" }, { "name": "X-Stack-Id", "value": "" } ], "params": [ { "name": "object_sid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Integration-Key", "value": "{{X-Integration-Key}}", "placement": "header" } }, "docs": "Creates and updates up to 1000 records in a single request. Each record is provided as a JSON object with field API names as keys." } ] } ], "bundled": true }