{"openapi":"3.0.0","info":{"title":"Assets API Reference","version":"1.1.23","description":"Assets API specification and documentation.","contact":{"name":"Structurell","email":"hello@structurell.com","url":"https:\/\/structurell.com"},"x-logo":{"url":"https:\/\/structurell.com\/images\/structurell_logo_dark.webp","altText":"Assets API Reference","backgroundColor":"#ffffff"}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"SuccessResponse":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","example":true},"status":{"type":"integer","example":200},"message":{"type":"string","nullable":true},"data":{"nullable":true}},"additionalProperties":true},"ErrorResponse":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","example":false},"status":{"type":"integer","example":422},"message":{"type":"string","nullable":true},"error":{"nullable":true},"errors":{"type":"object","nullable":true,"additionalProperties":true}},"additionalProperties":true},"Pagination":{"type":"object","properties":{"count":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0},"filtered_total":{"type":"integer","minimum":0},"per_page":{"type":"integer","minimum":1},"page":{"type":"integer","minimum":1},"currentPage":{"type":"integer","minimum":1},"total_pages":{"type":"integer","minimum":0},"links":{"type":"object","additionalProperties":{"type":"string","nullable":true}}},"additionalProperties":true},"PaginatedResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","required":["pagination"],"properties":{"data":{"type":"array","items":{}},"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}},"servers":[{"url":"https:\/\/api.structurell.com","description":"Production server."}],"paths":{"\/assets\/comment":{"get":{"tags":["Comment"],"summary":"Get comment","operationId":"get-assets-comment","description":"Get comment","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/comment\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/comment\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/comment\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.comment","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.comments","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.comment","action":"view"},"x-structurell-required-feature-code":"assets.comments"},"post":{"tags":["Comment"],"summary":"Update comment","operationId":"post-assets-comment","description":"Update comment","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/comment\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/comment\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/comment\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.comment","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.comments","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.comment","action":"create"},"x-structurell-required-feature-code":"assets.comments"}},"\/assets\/comment\/mentionable-users":{"get":{"tags":["Comment Mentionable-users"],"summary":"Get mentionable users","operationId":"get-assets-comment-mentionable-users","description":"Get mentionable users","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/comment\/mentionable-users\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/comment\/mentionable-users\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/comment\/mentionable-users\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.comment.mentionable.users","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.comments","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.comment.mentionable.users","action":"view"},"x-structurell-required-feature-code":"assets.comments"}},"\/assets\/comment\/{id}":{"put":{"tags":["Comment {id}"],"summary":"Create id","operationId":"put-assets-comment-by-id","description":"Create id","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/comment\/{id}\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/comment\/{id}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/comment\/{id}\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.comment","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.comments","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.comment","action":"edit"},"x-structurell-required-feature-code":"assets.comments"},"delete":{"tags":["Comment {id}"],"summary":"Delete id","operationId":"delete-assets-comment-by-id","description":"Delete id","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/comment\/{id}\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/comment\/{id}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/comment\/{id}\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.comment","x-structurell-permission-action":"delete","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.comments","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.comment","action":"delete"},"x-structurell-required-feature-code":"assets.comments"}},"\/assets\/admin\/cache\/flush-subscription":{"post":{"tags":["Admin Cache Flush-subscription"],"summary":"Update flush subscription","operationId":"post-assets-admin-cache-flush-subscription","description":"Update flush subscription","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/admin\/cache\/flush-subscription\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/admin\/cache\/flush-subscription\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/admin\/cache\/flush-subscription\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.admin.cache.flush.subscription","x-structurell-permission-action":"administer","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.caches","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.admin.cache.flush.subscription","action":"administer"},"x-structurell-required-feature-code":"assets.caches"}},"\/assets\/runs\/active":{"get":{"tags":["Runs Active"],"summary":"Get active","operationId":"get-assets-runs-active","description":"Get active","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/runs\/active\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/runs\/active\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/runs\/active\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.runs.active","x-structurell-permission-action":"view","x-structurell-permission-scope":"authenticated","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.runs","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"optional","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.runs.active","action":"view"},"x-structurell-required-feature-code":"assets.runs"}},"\/assets\/broadcasting\/auth":{"get":{"security":[{"BearerAuth":[]}],"tags":["Broadcasting Auth"],"summary":"Authenticate the request for channel access.","operationId":"get-assets-broadcasting-auth","description":"Authenticate the request for channel access.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"401":{"description":"Authentication is required or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"403":{"description":"The authenticated principal is not authorized.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/broadcasting\/auth\"     \\\n            -H \"Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJod\"    \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/broadcasting\/auth\");\n\nlet headers = {\n    \"Authorization\": \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJod\",\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Authorization\" => \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJod\",\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/broadcasting\/auth\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.broadcasting.auth","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.broadcastings","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.broadcasting.auth","action":"view"},"x-structurell-required-feature-code":"assets.broadcastings"}},"\/assets\/workflow\/options":{"get":{"tags":["Workflow"],"summary":"Get workflow registry options","operationId":"get-assets-workflow-options","description":"Return discovered workflow services, entities, events, and actions for workflow builder nodes.","parameters":[{"in":"query","name":"service","description":"optional Filter options to one service code.","required":false,"schema":{"type":"string","example":"projects"}},{"in":"query","name":"model","description":"optional Filter event options to one entity\/model code.","required":false,"schema":{"type":"string","example":"task"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/workflow\/options\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/options\");\n\n    let params = {\n            \"service\": \"projects\",\n            \"model\": \"task\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"service\" => \"projects\",\n            \"model\" => \"task\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/options?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.options","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.options","action":"view"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/registry":{"get":{"tags":["Workflow"],"summary":"Get structured workflow registry","operationId":"get-assets-workflow-registry","description":"Return workflow services with nested entities, events, and actions for dependent workflow builder controls.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/workflow\/registry\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/registry\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/registry\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.registry","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.registry","action":"view"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/version-list":{"get":{"tags":["Workflow"],"summary":"Version list","operationId":"get-assets-workflow-version-list","description":"Get the version history for a Workflow.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"The identifier of the item whose versions should be returned.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/workflow\/version-list\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/version-list\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/version-list?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.version.list","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.version.list","action":"view"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/export":{"post":{"tags":["Workflow"],"summary":"Export","operationId":"post-assets-workflow-export","description":"Queue an export for the matching Workflow records.","requestBody":{"description":"Queue an export for the matching Workflow records.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of a specific item to export when applicable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/workflow\/export\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/export\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/export\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.export","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.export","action":"view"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow":{"post":{"tags":["Workflow"],"summary":"Create Workflow","operationId":"post-assets-workflow","description":"Create a new Workflow from the submitted field values.","requestBody":{"description":"Create a new Workflow from the submitted field values.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier to use for the new item when one is supplied by the client."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/workflow\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow","action":"create"},"x-structurell-required-feature-code":"assets.workflows"},"get":{"tags":["Workflow"],"summary":"Get Workflow","operationId":"get-assets-workflow","description":"Get one Workflow by ID, or list all available Workflow records when no ID is supplied.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"optional","required":false,"schema":{"type":"string","example":"u!EO`SZ#mqO_"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/workflow\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"u!EO`SZ#mqO_\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"u!EO`SZ#mqO_\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow","action":"view"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/table":{"get":{"tags":["Workflow"],"summary":"Table collection","operationId":"get-assets-workflow-table","description":"Get a paginated table representation of the Workflow collection.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"page","description":"The page number to retrieve.","required":false,"schema":{"type":"number","example":1}},{"in":"query","name":"page_limit","description":"The number of items to return per page.","required":false,"schema":{"type":"number","example":100}},{"in":"query","name":"sort","description":"Sort order in the format {asc|desc},{field_code}.","required":false,"schema":{"type":"string","example":"asc,name"}},{"in":"query","name":"visible_columns","description":"Comma-separated list of column codes to show in the table.","required":false,"schema":{"type":"string","example":"id,name,status"}},{"in":"query","name":"filters","description":"Filters to apply. Each filter supports id, type, and content.","required":false,"schema":{"type":"array","example":"[{\"id\":\"status\",\"type\":\"=\",\"content\":\"Enabled\"}]"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaginatedResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/workflow\/table\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/table\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"page\": \"1\",\n            \"page_limit\": \"100\",\n            \"sort\": \"asc,name\",\n            \"visible_columns\": \"id,name,status\",\n            \"filters\": \"[{&quot;id&quot;:&quot;status&quot;,&quot;type&quot;:&quot;=&quot;,&quot;content&quot;:&quot;Enabled&quot;}]\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"page\" => \"1\",\n            \"page_limit\" => \"100\",\n            \"sort\" => \"asc,name\",\n            \"visible_columns\" => \"id,name,status\",\n            \"filters\" => \"[{&quot;id&quot;:&quot;status&quot;,&quot;type&quot;:&quot;=&quot;,&quot;content&quot;:&quot;Enabled&quot;}]\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/table?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow","action":"view"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/bulk":{"put":{"tags":["Workflow"],"summary":"Bulk update Workflow","operationId":"put-assets-workflow-bulk","description":"Update multiple Workflow records with the submitted values. Only changed values are versioned.","requestBody":{"description":"Update multiple Workflow records with the submitted values. Only changed values are versioned.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","ids","data"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"ids":{"type":"array","example":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]","description":"The identifiers of the items to update."},"data":{"type":"array","example":"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]","description":"The field values to apply to each item."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","ids":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]","data":"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/workflow\/bulk\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"ids\"=\"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]\"         \\\n        -d \"data\"=\"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/bulk\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"ids\":             \"[&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;]\"\n        ,\n            \"data\":             \"[{&quot;id&quot;:&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;status&quot;:&quot;Enabled&quot;}]\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"ids\" =>             \"json_decode([\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"], true)\"\n        ,\n            \"data\" =>             \"json_decode([{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}], true)\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/bulk\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.bulk","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.bulk","action":"edit"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/{id}":{"put":{"tags":["Workflow"],"summary":"Update workflow","operationId":"put-assets-workflow-by-id","description":"Update an editable workflow definition and its configured steps.","requestBody":{"description":"Update an editable workflow definition and its configured steps.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the workflow."},"id":{"type":"string","example":"1","description":"The workflow identifier."},"steps":{"type":"array","example":"[]","description":"optional The workflow builder steps."},"step_links":{"type":"array","example":"[]","description":"optional The links between workflow steps."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"1","steps":"[]","step_links":"[]"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"1\"         \\\n        -d \"steps\"=\"[]\"         \\\n        -d \"step_links\"=\"[]\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"1\"\n        ,\n            \"steps\":             \"[]\"\n        ,\n            \"step_links\":             \"[]\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"1\"\n        ,\n            \"steps\" =>             \"json_decode([], true)\"\n        ,\n            \"step_links\" =>             \"json_decode([], true)\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/{id}\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow","action":"edit"},"x-structurell-required-feature-code":"assets.workflows"},"delete":{"tags":["Workflow"],"summary":"Delete workflow","operationId":"delete-assets-workflow-by-id","description":"Delete an editable workflow definition.","requestBody":{"description":"Delete an editable workflow definition.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the workflow."},"id":{"type":"string","example":"1","description":"The workflow identifier."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"1"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"1\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"1\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"1\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/{id}\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow","x-structurell-permission-action":"delete","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow","action":"delete"},"x-structurell-required-feature-code":"assets.workflows"},"get":{"tags":["Workflow {id}"],"summary":"Get Workflow {id}","operationId":"get-assets-workflow-by-id","description":"Get one Workflow {id} by ID, or list all available Workflow {id} records when no ID is supplied.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"optional","required":false,"schema":{"type":"string","example":"[IV60Y3\/%c1#"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"[IV60Y3\/%c1#\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"[IV60Y3\/%c1#\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/{id}?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow","action":"view"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/{id}\/enable":{"put":{"tags":["Workflow"],"summary":"Enable workflow","operationId":"put-assets-workflow-by-id-enable","description":"Enable an editable workflow definition.","requestBody":{"description":"Enable an editable workflow definition.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the workflow."},"id":{"type":"string","example":"1","description":"The workflow identifier."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"1"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\/enable\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"1\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\/enable\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"1\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"1\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/{id}\/enable\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.enable","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.enable","action":"edit"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/{id}\/disable":{"put":{"tags":["Workflow"],"summary":"Disable workflow","operationId":"put-assets-workflow-by-id-disable","description":"Disable an editable workflow definition.","requestBody":{"description":"Disable an editable workflow definition.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the workflow."},"id":{"type":"string","example":"1","description":"The workflow identifier."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"1"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\/disable\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"1\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\/disable\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"1\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"1\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/{id}\/disable\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.disable","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.disable","action":"edit"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/table\/state":{"get":{"tags":["Workflow Table"],"summary":"Table bootstrap state","operationId":"get-assets-workflow-table-state","description":"Get the saved durable user preferences used to initialize the Workflow Table table.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/workflow\/table\/state\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/table\/state\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/table\/state?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.state","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.state","action":"view"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/workflow\/{id}\/draft":{"delete":{"tags":["Workflow {id}"],"summary":"Delete draft","operationId":"delete-assets-workflow-by-id-draft","description":"Delete the draft version for a Workflow {id}.","requestBody":{"description":"Delete the draft version for a Workflow {id}.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item whose draft should be deleted."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\/draft\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/workflow\/{id}\/draft\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/workflow\/{id}\/draft\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.workflow.draft","x-structurell-permission-action":"delete","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.workflows","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.workflow.draft","action":"delete"},"x-structurell-required-feature-code":"assets.workflows"}},"\/assets\/oauth\/token":{"post":{"tags":["Oauth"],"summary":"Issue an access token.","operationId":"post-assets-oauth-token","description":"Issue an access token.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/oauth\/token\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/token\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/token\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.token","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.token","action":"create"},"x-structurell-required-feature-code":"assets.oauths"}},"\/assets\/oauth\/authorize":{"get":{"tags":["Oauth"],"summary":"Authorize a client to access the user's account.","operationId":"get-assets-oauth-authorize","description":"Authorize a client to access the user's account.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/oauth\/authorize\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/authorize\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/authorize\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.authorize","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.authorize","action":"view"},"x-structurell-required-feature-code":"assets.oauths"},"post":{"tags":["Oauth"],"summary":"Approve the authorization request.","operationId":"post-assets-oauth-authorize","description":"Approve the authorization request.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/oauth\/authorize\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/authorize\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/authorize\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.authorize","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.authorize","action":"create"},"x-structurell-required-feature-code":"assets.oauths"},"delete":{"tags":["Oauth"],"summary":"Deny the authorization request.","operationId":"delete-assets-oauth-authorize","description":"Deny the authorization request.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/oauth\/authorize\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/authorize\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/authorize\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.authorize","x-structurell-permission-action":"delete","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.authorize","action":"delete"},"x-structurell-required-feature-code":"assets.oauths"}},"\/assets\/oauth\/device":{"get":{"tags":["Oauth"],"summary":"Show the form for entering the user code.","operationId":"get-assets-oauth-device","description":"Show the form for entering the user code.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/oauth\/device\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/device\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/device\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.device","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.device","action":"view"},"x-structurell-required-feature-code":"assets.oauths"}},"\/assets\/oauth\/device\/code":{"post":{"tags":["Oauth"],"summary":"Issue a device code for the client.","operationId":"post-assets-oauth-device-code","description":"Issue a device code for the client.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/oauth\/device\/code\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/device\/code\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/device\/code\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.device.code","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.device.code","action":"create"},"x-structurell-required-feature-code":"assets.oauths"}},"\/assets\/oauth\/token\/refresh":{"post":{"tags":["Oauth"],"summary":"Get a fresh transient token cookie for the authenticated user.","operationId":"post-assets-oauth-token-refresh","description":"Get a fresh transient token cookie for the authenticated user.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/oauth\/token\/refresh\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/token\/refresh\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/token\/refresh\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.token.refresh","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.token.refresh","action":"create"},"x-structurell-required-feature-code":"assets.oauths"}},"\/assets\/oauth\/device\/authorize":{"get":{"tags":["Oauth"],"summary":"Authorize a device to access the user's account.","operationId":"get-assets-oauth-device-authorize","description":"Authorize a device to access the user's account.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/oauth\/device\/authorize\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/device\/authorize\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/device\/authorize\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.device.authorize","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.device.authorize","action":"view"},"x-structurell-required-feature-code":"assets.oauths"},"post":{"tags":["Oauth"],"summary":"Approve the device authorization request.","operationId":"post-assets-oauth-device-authorize","description":"Approve the device authorization request.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/oauth\/device\/authorize\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/device\/authorize\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/device\/authorize\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.device.authorize","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.device.authorize","action":"create"},"x-structurell-required-feature-code":"assets.oauths"},"delete":{"tags":["Oauth"],"summary":"Deny the device authorization request.","operationId":"delete-assets-oauth-device-authorize","description":"Deny the device authorization request.","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/oauth\/device\/authorize\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/oauth\/device\/authorize\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/oauth\/device\/authorize\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.oauth.device.authorize","x-structurell-permission-action":"delete","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.oauths","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.oauth.device.authorize","action":"delete"},"x-structurell-required-feature-code":"assets.oauths"}},"\/assets\/profile-image\/{fileName}":{"get":{"tags":["Profile-image {fileName}"],"summary":"Get fileName","operationId":"get-assets-profile-image-by-fileName","description":"Get fileName","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/profile-image\/{fileName}\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/profile-image\/{fileName}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/profile-image\/{fileName}\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.profile.image","x-structurell-permission-action":"view","x-structurell-permission-scope":"authenticated","x-structurell-capability-code":"assets.uploads","x-structurell-feature-code":"assets.profile_images","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"optional","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.profile.image","action":"view"},"x-structurell-required-capability-code":"assets.uploads","x-structurell-required-feature-code":"assets.profile_images"}},"\/assets\/profile-image":{"post":{"tags":["Profile-image"],"summary":"Update profile image","operationId":"post-assets-profile-image","description":"Update profile image","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/profile-image\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/profile-image\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/profile-image\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.profile.image","x-structurell-permission-action":"create","x-structurell-permission-scope":"authenticated","x-structurell-capability-code":"assets.uploads","x-structurell-feature-code":"assets.profile_images","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"optional","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.profile.image","action":"create"},"x-structurell-required-capability-code":"assets.uploads","x-structurell-required-feature-code":"assets.profile_images"}},"\/assets\/signed-media\/{subscriptionId}\/{mediaPath}":{"get":{"tags":["Signed-media {subscriptionId} {mediaPath}"],"summary":"Get mediaPath","operationId":"get-assets-signed-media-by-subscriptionId-by-mediaPath","description":"Get mediaPath","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/signed-media\/{subscriptionId}\/{mediaPath}\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/signed-media\/{subscriptionId}\/{mediaPath}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/signed-media\/{subscriptionId}\/{mediaPath}\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.signed.media","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.signed_media","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.signed.media","action":"view"},"x-structurell-required-feature-code":"assets.signed_media"}},"\/assets\/usage\/summary":{"get":{"tags":["Usage Summary"],"summary":"Get summary","operationId":"get-assets-usage-summary","description":"Get summary","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/usage\/summary\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/usage\/summary\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/usage\/summary\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.usage.summary","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.usages","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.usage.summary","action":"view"},"x-structurell-required-feature-code":"assets.usages"}},"\/assets\/asset\/gallery-data":{"get":{"tags":["Asset Gallery-data"],"summary":"Get gallery asset data","operationId":"get-assets-asset-gallery-data","description":"Get display metadata for the selected asset IDs.","parameters":[{"in":"query","name":"ids","description":"optional Asset identifiers to load.","required":false,"schema":{"type":"array","example":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"yyyyyyyyyyyyyyyyyyyyyyyyyy\"]"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/gallery-data\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/gallery-data\");\n\n    let params = {\n            \"ids\": \"[&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;yyyyyyyyyyyyyyyyyyyyyyyyyy&quot;]\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"ids\" => \"[&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;yyyyyyyyyyyyyyyyyyyyyyyyyy&quot;]\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/gallery-data?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.gallery.data","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.gallery.data","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/store-file-asset":{"post":{"tags":["Asset Store-file-asset"],"summary":"Store file asset","operationId":"post-assets-asset-store-file-asset","description":"Store an uploaded file as a permanent asset, or create an asset from submitted data.","requestBody":{"description":"Store an uploaded file as a permanent asset, or create an asset from submitted data.","required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"file":{"type":"string","example":"sLusHl&kG.3P","description":"optional The uploaded file to store."},"type":{"type":"string","example":"image","description":"optional The asset type to assign."}},"example":{"file":"sLusHl&kG.3P","type":"image"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\/store-file-asset\" \n    -d \"file\"=\"sLusHl&kG.3P\"         \\\n        -d \"type\"=\"image\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/store-file-asset\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"file\":             \"sLusHl&amp;kG.3P\"\n        ,\n            \"type\":             \"image\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"file\" =>             \"sLusHl&amp;kG.3P\"\n        ,\n            \"type\" =>             \"image\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/store-file-asset\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.store.file.asset","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.store.file.asset","action":"create"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/store-temporary-file-asset":{"post":{"tags":["Asset Store-temporary-file-asset"],"summary":"Store temporary file asset","operationId":"post-assets-asset-store-temporary-file-asset","description":"Store an uploaded file as a temporary asset for later attachment.","requestBody":{"description":"Store an uploaded file as a temporary asset for later attachment.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","example":"#>:jByL*K9pU","description":"The uploaded file to store temporarily."},"type":{"type":"string","example":"image","description":"optional The asset type to assign."}},"example":{"file":"#>:jByL*K9pU","type":"image"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\/store-temporary-file-asset\" \n    -d \"file\"=\"#>:jByL*K9pU\"         \\\n        -d \"type\"=\"image\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/store-temporary-file-asset\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"file\":             \"#&gt;:jByL*K9pU\"\n        ,\n            \"type\":             \"image\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"file\" =>             \"#&gt;:jByL*K9pU\"\n        ,\n            \"type\" =>             \"image\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/store-temporary-file-asset\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.store.temporary.file.asset","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.store.temporary.file.asset","action":"create"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/temporary-file-payload":{"get":{"tags":["Asset Temporary-file-payload"],"summary":"Get temporary file payload","operationId":"get-assets-asset-temporary-file-payload","description":"Get temporary file payload","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/temporary-file-payload\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/temporary-file-payload\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/temporary-file-payload\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.temporary.file.payload","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.temporary.file.payload","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/file-payload":{"get":{"tags":["Asset File-payload"],"summary":"Get file payload","operationId":"get-assets-asset-file-payload","description":"Get file payload","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/file-payload\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/file-payload\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/file-payload\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.file.payload","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.file.payload","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/export":{"post":{"tags":["Asset"],"summary":"Export","operationId":"post-assets-asset-export","description":"Queue an export for the matching Asset records.","requestBody":{"description":"Queue an export for the matching Asset records.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of a specific item to export when applicable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\/export\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/export\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/export\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.export","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.export","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset":{"post":{"tags":["Asset"],"summary":"Create Asset","operationId":"post-assets-asset","description":"Create a new Asset from the submitted field values.","requestBody":{"description":"Create a new Asset from the submitted field values.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier to use for the new item when one is supplied by the client."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset","action":"create"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"get":{"tags":["Asset"],"summary":"Get Asset","operationId":"get-assets-asset","description":"Get one Asset by ID, or list all available Asset records when no ID is supplied.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"optional","required":false,"schema":{"type":"string","example":"MFR&E-jskVfi"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"MFR&amp;E-jskVfi\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"MFR&amp;E-jskVfi\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/table":{"get":{"tags":["Asset"],"summary":"Table collection","operationId":"get-assets-asset-table","description":"Get a paginated table representation of the Asset collection.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"page","description":"The page number to retrieve.","required":false,"schema":{"type":"number","example":1}},{"in":"query","name":"page_limit","description":"The number of items to return per page.","required":false,"schema":{"type":"number","example":100}},{"in":"query","name":"sort","description":"Sort order in the format {asc|desc},{field_code}.","required":false,"schema":{"type":"string","example":"asc,name"}},{"in":"query","name":"visible_columns","description":"Comma-separated list of column codes to show in the table.","required":false,"schema":{"type":"string","example":"id,name,status"}},{"in":"query","name":"filters","description":"Filters to apply. Each filter supports id, type, and content.","required":false,"schema":{"type":"array","example":"[{\"id\":\"status\",\"type\":\"=\",\"content\":\"Enabled\"}]"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaginatedResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/table\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/table\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"page\": \"1\",\n            \"page_limit\": \"100\",\n            \"sort\": \"asc,name\",\n            \"visible_columns\": \"id,name,status\",\n            \"filters\": \"[{&quot;id&quot;:&quot;status&quot;,&quot;type&quot;:&quot;=&quot;,&quot;content&quot;:&quot;Enabled&quot;}]\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"page\" => \"1\",\n            \"page_limit\" => \"100\",\n            \"sort\" => \"asc,name\",\n            \"visible_columns\" => \"id,name,status\",\n            \"filters\" => \"[{&quot;id&quot;:&quot;status&quot;,&quot;type&quot;:&quot;=&quot;,&quot;content&quot;:&quot;Enabled&quot;}]\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/table?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/bulk":{"put":{"tags":["Asset"],"summary":"Bulk update Asset","operationId":"put-assets-asset-bulk","description":"Update multiple Asset records with the submitted values. Only changed values are versioned.","requestBody":{"description":"Update multiple Asset records with the submitted values. Only changed values are versioned.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","ids","data"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"ids":{"type":"array","example":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]","description":"The identifiers of the items to update."},"data":{"type":"array","example":"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]","description":"The field values to apply to each item."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","ids":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]","data":"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/bulk\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"ids\"=\"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]\"         \\\n        -d \"data\"=\"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/bulk\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"ids\":             \"[&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;]\"\n        ,\n            \"data\":             \"[{&quot;id&quot;:&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;status&quot;:&quot;Enabled&quot;}]\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"ids\" =>             \"json_decode([\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"], true)\"\n        ,\n            \"data\" =>             \"json_decode([{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}], true)\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/bulk\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.bulk","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.bulk","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/version-list":{"get":{"tags":["Asset"],"summary":"Version list","operationId":"get-assets-asset-version-list","description":"Get the version history for a Asset.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"The identifier of the item whose versions should be returned.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/version-list\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/version-list\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/version-list?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.version.list","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.version.list","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/table\/state":{"get":{"tags":["Asset Table"],"summary":"Table bootstrap state","operationId":"get-assets-asset-table-state","description":"Get the saved durable user preferences used to initialize the Asset Table table.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/table\/state\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/table\/state\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/table\/state?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.state","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.state","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attributes":{"get":{"tags":["Asset Attributes"],"summary":"Get Attributes","operationId":"get-assets-asset-attributes","description":"Get the attributes that can be used on a Asset Attributes.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attributes\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attributes\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attributes?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attributes","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attributes","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/options":{"get":{"tags":["Asset Attribute"],"summary":"Attribute list","operationId":"get-assets-asset-attribute-options","description":"Get the available options for a Asset Attribute attribute.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"The identifier of the attribute whose options should be returned.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/options\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/options\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/options?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.options","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.options","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/export":{"post":{"tags":["Asset Attribute"],"summary":"Export","operationId":"post-assets-asset-attribute-export","description":"Queue an export for the matching Asset Attribute records.","requestBody":{"description":"Queue an export for the matching Asset Attribute records.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of a specific item to export when applicable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/export\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/export\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/export\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.export","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.export","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute":{"post":{"tags":["Asset Attribute"],"summary":"Create Asset Attribute","operationId":"post-assets-asset-attribute","description":"Create a new Asset Attribute from the submitted field values.","requestBody":{"description":"Create a new Asset Attribute from the submitted field values.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier to use for the new item when one is supplied by the client."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute","x-structurell-permission-action":"create","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute","action":"create"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"get":{"tags":["Asset Attribute"],"summary":"Get Asset Attribute","operationId":"get-assets-asset-attribute","description":"Get one Asset Attribute by ID, or list all available Asset Attribute records when no ID is supplied.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"optional","required":false,"schema":{"type":"string","example":"p,)wG0:p~L:B"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"p,)wG0:p~L:B\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"p,)wG0:p~L:B\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/table":{"get":{"tags":["Asset Attribute"],"summary":"Table collection","operationId":"get-assets-asset-attribute-table","description":"Get a paginated table representation of the Asset Attribute collection.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"page","description":"The page number to retrieve.","required":false,"schema":{"type":"number","example":1}},{"in":"query","name":"page_limit","description":"The number of items to return per page.","required":false,"schema":{"type":"number","example":100}},{"in":"query","name":"sort","description":"Sort order in the format {asc|desc},{field_code}.","required":false,"schema":{"type":"string","example":"asc,name"}},{"in":"query","name":"visible_columns","description":"Comma-separated list of column codes to show in the table.","required":false,"schema":{"type":"string","example":"id,name,status"}},{"in":"query","name":"filters","description":"Filters to apply. Each filter supports id, type, and content.","required":false,"schema":{"type":"array","example":"[{\"id\":\"status\",\"type\":\"=\",\"content\":\"Enabled\"}]"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaginatedResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/table\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/table\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"page\": \"1\",\n            \"page_limit\": \"100\",\n            \"sort\": \"asc,name\",\n            \"visible_columns\": \"id,name,status\",\n            \"filters\": \"[{&quot;id&quot;:&quot;status&quot;,&quot;type&quot;:&quot;=&quot;,&quot;content&quot;:&quot;Enabled&quot;}]\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"page\" => \"1\",\n            \"page_limit\" => \"100\",\n            \"sort\" => \"asc,name\",\n            \"visible_columns\" => \"id,name,status\",\n            \"filters\" => \"[{&quot;id&quot;:&quot;status&quot;,&quot;type&quot;:&quot;=&quot;,&quot;content&quot;:&quot;Enabled&quot;}]\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/table?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/bulk":{"put":{"tags":["Asset Attribute"],"summary":"Bulk update Asset Attribute","operationId":"put-assets-asset-attribute-bulk","description":"Update multiple Asset Attribute records with the submitted values. Only changed values are versioned.","requestBody":{"description":"Update multiple Asset Attribute records with the submitted values. Only changed values are versioned.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","ids","data"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"ids":{"type":"array","example":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]","description":"The identifiers of the items to update."},"data":{"type":"array","example":"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]","description":"The field values to apply to each item."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","ids":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]","data":"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/bulk\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"ids\"=\"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]\"         \\\n        -d \"data\"=\"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/bulk\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"ids\":             \"[&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;]\"\n        ,\n            \"data\":             \"[{&quot;id&quot;:&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;status&quot;:&quot;Enabled&quot;}]\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"ids\" =>             \"json_decode([\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"], true)\"\n        ,\n            \"data\" =>             \"json_decode([{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}], true)\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/bulk\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.bulk","x-structurell-permission-action":"edit","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.bulk","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/options":{"get":{"tags":["Asset Attribute-set"],"summary":"Attribute set options","operationId":"get-assets-asset-attribute-set-options","description":"Get the attribute sets available for a Asset Attribute-set.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/options\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/options\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/options?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set.options","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set.options","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/group-data":{"get":{"tags":["Asset Attribute-set"],"summary":"Attribute set data","operationId":"get-assets-asset-attribute-set-group-data","description":"Get the grouped configuration for a Asset Attribute-set attribute set.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"The identifier of the attribute set.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/group-data\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/group-data\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/group-data?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set.group.data","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set.group.data","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/export":{"post":{"tags":["Asset Attribute-set"],"summary":"Export","operationId":"post-assets-asset-attribute-set-export","description":"Queue an export for the matching Asset Attribute-set records.","requestBody":{"description":"Queue an export for the matching Asset Attribute-set records.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of a specific item to export when applicable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/export\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/export\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/export\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set.export","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set.export","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set":{"post":{"tags":["Asset Attribute-set"],"summary":"Create Asset Attribute-set","operationId":"post-assets-asset-attribute-set","description":"Create a new Asset Attribute-set from the submitted field values.","requestBody":{"description":"Create a new Asset Attribute-set from the submitted field values.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier to use for the new item when one is supplied by the client."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set","x-structurell-permission-action":"create","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set","action":"create"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"get":{"tags":["Asset Attribute-set"],"summary":"Get Asset Attribute-set","operationId":"get-assets-asset-attribute-set","description":"Get one Asset Attribute-set by ID, or list all available Asset Attribute-set records when no ID is supplied.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"optional","required":false,"schema":{"type":"string","example":"9*{\/x(aGAV(*"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"9*{\/x(aGAV(*\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"9*{\/x(aGAV(*\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/table":{"get":{"tags":["Asset Attribute-set"],"summary":"Table collection","operationId":"get-assets-asset-attribute-set-table","description":"Get a paginated table representation of the Asset Attribute-set collection.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"page","description":"The page number to retrieve.","required":false,"schema":{"type":"number","example":1}},{"in":"query","name":"page_limit","description":"The number of items to return per page.","required":false,"schema":{"type":"number","example":100}},{"in":"query","name":"sort","description":"Sort order in the format {asc|desc},{field_code}.","required":false,"schema":{"type":"string","example":"asc,name"}},{"in":"query","name":"visible_columns","description":"Comma-separated list of column codes to show in the table.","required":false,"schema":{"type":"string","example":"id,name,status"}},{"in":"query","name":"filters","description":"Filters to apply. Each filter supports id, type, and content.","required":false,"schema":{"type":"array","example":"[{\"id\":\"status\",\"type\":\"=\",\"content\":\"Enabled\"}]"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaginatedResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/table\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/table\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"page\": \"1\",\n            \"page_limit\": \"100\",\n            \"sort\": \"asc,name\",\n            \"visible_columns\": \"id,name,status\",\n            \"filters\": \"[{&quot;id&quot;:&quot;status&quot;,&quot;type&quot;:&quot;=&quot;,&quot;content&quot;:&quot;Enabled&quot;}]\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"page\" => \"1\",\n            \"page_limit\" => \"100\",\n            \"sort\" => \"asc,name\",\n            \"visible_columns\" => \"id,name,status\",\n            \"filters\" => \"[{&quot;id&quot;:&quot;status&quot;,&quot;type&quot;:&quot;=&quot;,&quot;content&quot;:&quot;Enabled&quot;}]\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/table?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/bulk":{"put":{"tags":["Asset Attribute-set"],"summary":"Bulk update Asset Attribute-set","operationId":"put-assets-asset-attribute-set-bulk","description":"Update multiple Asset Attribute-set records with the submitted values. Only changed values are versioned.","requestBody":{"description":"Update multiple Asset Attribute-set records with the submitted values. Only changed values are versioned.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","ids","data"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"ids":{"type":"array","example":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]","description":"The identifiers of the items to update."},"data":{"type":"array","example":"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]","description":"The field values to apply to each item."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","ids":"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]","data":"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/bulk\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"ids\"=\"[\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"]\"         \\\n        -d \"data\"=\"[{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}]\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/bulk\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"ids\":             \"[&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;]\"\n        ,\n            \"data\":             \"[{&quot;id&quot;:&quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&quot;status&quot;:&quot;Enabled&quot;}]\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"ids\" =>             \"json_decode([\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"], true)\"\n        ,\n            \"data\" =>             \"json_decode([{\"id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\"status\":\"Enabled\"}], true)\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/bulk\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set.bulk","x-structurell-permission-action":"edit","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set.bulk","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/{id}\/rollback":{"post":{"tags":["Asset {id} Rollback"],"summary":"Rollback Asset {id} Rollback values","operationId":"post-assets-asset-by-id-rollback","description":"Restore a Asset {id} Rollback to a previous version. Later versions are marked as rolled back and the restored values are saved as a new version.","requestBody":{"description":"Restore a Asset {id} Rollback to a previous version. Later versions are marked as rolled back and the restored values are saved as a new version.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id","version"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to roll back."},"version":{"type":"integer","example":3,"description":"The version number to restore."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","version":3}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/asset\/{id}\/rollback\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"version\"=\"3\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/{id}\/rollback\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"version\":             \"3\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"version\" =>             \"3\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/{id}\/rollback\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\n    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.rollback","x-structurell-permission-action":"create","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.rollback","action":"create"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/{id}":{"get":{"tags":["Asset {id}"],"summary":"Get Asset {id}","operationId":"get-assets-asset-by-id","description":"Get one Asset {id} by ID, or list all available Asset {id} records when no ID is supplied.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"optional","required":false,"schema":{"type":"string","example":"uK5$2*y>v8J-"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/{id}\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/{id}\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"uK5$2*y&gt;v8J-\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"uK5$2*y&gt;v8J-\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/{id}?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset","x-structurell-permission-action":"view","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"put":{"tags":["Asset {id}"],"summary":"Update Asset {id}","operationId":"put-assets-asset-by-id","description":"Update an existing Asset {id} with the submitted field values. Only changed values are versioned.","requestBody":{"description":"Update an existing Asset {id} with the submitted field values. Only changed values are versioned.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to update."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/{id}\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/{id}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/{id}\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"delete":{"tags":["Asset {id}"],"summary":"Delete Asset {id}","operationId":"delete-assets-asset-by-id","description":"Delete one or more Asset {id} records.","requestBody":{"description":"Delete one or more Asset {id} records.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to delete."}},"example":{"id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/asset\/{id}\" \n    -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/{id}\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/{id}?\" . http_build_query($data));\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset","x-structurell-permission-action":"delete","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset","action":"delete"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/{id}\/draft":{"delete":{"tags":["Asset {id}"],"summary":"Delete draft","operationId":"delete-assets-asset-by-id-draft","description":"Delete the draft version for a Asset {id}.","requestBody":{"description":"Delete the draft version for a Asset {id}.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item whose draft should be deleted."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/asset\/{id}\/draft\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/{id}\/draft\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/{id}\/draft\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.draft","x-structurell-permission-action":"delete","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.draft","action":"delete"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/{id}\/enable":{"put":{"tags":["Asset {id}"],"summary":"Enable Asset {id}","operationId":"put-assets-asset-by-id-enable","description":"Mark one or more Asset {id} records as enabled.","requestBody":{"description":"Mark one or more Asset {id} records as enabled.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to enable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/{id}\/enable\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/{id}\/enable\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/{id}\/enable\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.enable","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.enable","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/{id}\/disable":{"put":{"tags":["Asset {id}"],"summary":"Disable Asset {id}","operationId":"put-assets-asset-by-id-disable","description":"Mark one or more Asset {id} records as disabled.","requestBody":{"description":"Mark one or more Asset {id} records as disabled.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to disable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/{id}\/disable\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/{id}\/disable\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/{id}\/disable\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.disable","x-structurell-permission-action":"edit","x-structurell-permission-scope":"tenant","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.disable","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/table\/state":{"get":{"tags":["Asset Attribute Table"],"summary":"Table bootstrap state","operationId":"get-assets-asset-attribute-table-state","description":"Get the saved durable user preferences used to initialize the Asset Attribute Table table.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/table\/state\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/table\/state\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/table\/state?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.state","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.state","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/{id}":{"get":{"tags":["Asset Attribute {id}"],"summary":"Get Asset Attribute {id}","operationId":"get-assets-asset-attribute-by-id","description":"Get one Asset Attribute {id} by ID, or list all available Asset Attribute {id} records when no ID is supplied.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"optional","required":false,"schema":{"type":"string","example":"{J~`\/OWOlr-%"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"{J~`\/OWOlr-%\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"{J~`\/OWOlr-%\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/{id}?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"put":{"tags":["Asset Attribute {id}"],"summary":"Update Asset Attribute {id}","operationId":"put-assets-asset-attribute-by-id","description":"Update an existing Asset Attribute {id} with the submitted field values. Only changed values are versioned.","requestBody":{"description":"Update an existing Asset Attribute {id} with the submitted field values. Only changed values are versioned.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to update."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/{id}\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute","x-structurell-permission-action":"edit","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"delete":{"tags":["Asset Attribute {id}"],"summary":"Delete Asset Attribute {id}","operationId":"delete-assets-asset-attribute-by-id","description":"Delete one or more Asset Attribute {id} records.","requestBody":{"description":"Delete one or more Asset Attribute {id} records.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to delete."}},"example":{"id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\" \n    -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/{id}?\" . http_build_query($data));\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute","x-structurell-permission-action":"delete","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute","action":"delete"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/{id}\/draft":{"delete":{"tags":["Asset Attribute {id}"],"summary":"Delete draft","operationId":"delete-assets-asset-attribute-by-id-draft","description":"Delete the draft version for a Asset Attribute {id}.","requestBody":{"description":"Delete the draft version for a Asset Attribute {id}.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item whose draft should be deleted."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\/draft\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\/draft\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/{id}\/draft\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.draft","x-structurell-permission-action":"delete","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.draft","action":"delete"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/{id}\/enable":{"put":{"tags":["Asset Attribute {id}"],"summary":"Enable Asset Attribute {id}","operationId":"put-assets-asset-attribute-by-id-enable","description":"Mark one or more Asset Attribute {id} records as enabled.","requestBody":{"description":"Mark one or more Asset Attribute {id} records as enabled.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to enable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\/enable\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\/enable\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/{id}\/enable\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.enable","x-structurell-permission-action":"edit","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.enable","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute\/{id}\/disable":{"put":{"tags":["Asset Attribute {id}"],"summary":"Disable Asset Attribute {id}","operationId":"put-assets-asset-attribute-by-id-disable","description":"Mark one or more Asset Attribute {id} records as disabled.","requestBody":{"description":"Mark one or more Asset Attribute {id} records as disabled.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to disable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\/disable\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute\/{id}\/disable\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute\/{id}\/disable\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.disable","x-structurell-permission-action":"edit","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.disable","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/table\/state":{"get":{"tags":["Asset Attribute-set Table"],"summary":"Table bootstrap state","operationId":"get-assets-asset-attribute-set-table-state","description":"Get the saved durable user preferences used to initialize the Asset Attribute-set Table table.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/table\/state\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/table\/state\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/table\/state?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set.state","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set.state","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/{id}":{"get":{"tags":["Asset Attribute-set {id}"],"summary":"Get Asset Attribute-set {id}","operationId":"get-assets-asset-attribute-set-by-id","description":"Get one Asset Attribute-set {id} by ID, or list all available Asset Attribute-set {id} records when no ID is supplied.","parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}},{"in":"query","name":"id","description":"optional","required":false,"schema":{"type":"string","example":"6gr#pX\/q-4Iy"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\": \"6gr#pX\/q-4Iy\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"id\" => \"6gr#pX\/q-4Iy\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/{id}?\" . http_build_query($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set","x-structurell-permission-action":"view","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set","action":"view"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"put":{"tags":["Asset Attribute-set {id}"],"summary":"Update Asset Attribute-set {id}","operationId":"put-assets-asset-attribute-set-by-id","description":"Update an existing Asset Attribute-set {id} with the submitted field values. Only changed values are versioned.","requestBody":{"description":"Update an existing Asset Attribute-set {id} with the submitted field values. Only changed values are versioned.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to update."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/{id}\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set","x-structurell-permission-action":"edit","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"},"delete":{"tags":["Asset Attribute-set {id}"],"summary":"Delete Asset Attribute-set {id}","operationId":"delete-assets-asset-attribute-set-by-id","description":"Delete one or more Asset Attribute-set {id} records.","requestBody":{"description":"Delete one or more Asset Attribute-set {id} records.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to delete."}},"example":{"id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[{"in":"query","name":"subscription_id","description":"The subscription identifier used to scope the request.","required":true,"schema":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\" \n    -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\");\n\n    let params = {\n            \"subscription_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        };\n\n    Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n    $query = [\n            \"subscription_id\" => \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/{id}?\" . http_build_query($data));\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set","x-structurell-permission-action":"delete","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set","action":"delete"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/{id}\/draft":{"delete":{"tags":["Asset Attribute-set {id}"],"summary":"Delete draft","operationId":"delete-assets-asset-attribute-set-by-id-draft","description":"Delete the draft version for a Asset Attribute-set {id}.","requestBody":{"description":"Delete the draft version for a Asset Attribute-set {id}.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item whose draft should be deleted."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X DELETE \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\/draft\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\/draft\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"DELETE\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/{id}\/draft\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set.draft","x-structurell-permission-action":"delete","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set.draft","action":"delete"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/{id}\/enable":{"put":{"tags":["Asset Attribute-set {id}"],"summary":"Enable Asset Attribute-set {id}","operationId":"put-assets-asset-attribute-set-by-id-enable","description":"Mark one or more Asset Attribute-set {id} records as enabled.","requestBody":{"description":"Mark one or more Asset Attribute-set {id} records as enabled.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to enable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\/enable\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\/enable\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/{id}\/enable\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set.enable","x-structurell-permission-action":"edit","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set.enable","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/asset\/attribute-set\/{id}\/disable":{"put":{"tags":["Asset Attribute-set {id}"],"summary":"Disable Asset Attribute-set {id}","operationId":"put-assets-asset-attribute-set-by-id-disable","description":"Mark one or more Asset Attribute-set {id} records as disabled.","requestBody":{"description":"Mark one or more Asset Attribute-set {id} records as disabled.","required":true,"content":{"application\/json":{"schema":{"type":"object","required":["subscription_id","id"],"properties":{"subscription_id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The subscription identifier used to scope the request."},"id":{"type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"The identifier of the item to disable."}},"example":{"subscription_id":"xxxxxxxxxxxxxxxxxxxxxxxxxx","id":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}}}}},"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X PUT \"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\/disable\" \n    -d \"subscription_id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"         \\\n        -d \"id\"=\"xxxxxxxxxxxxxxxxxxxxxxxxxx\" "},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/asset\/attribute-set\/{id}\/disable\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\n    let body = JSON.stringify({\n            \"subscription_id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\":             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        })\n\nfetch(url, {\nmethod: \"PUT\",\nheaders: headers,\n    body: body\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n    $body = [\n            \"subscription_id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n            \"id\" =>             \"xxxxxxxxxxxxxxxxxxxxxxxxxx\"\n        ,\n        ];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/asset\/attribute-set\/{id}\/disable\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.asset.attribute.set.disable","x-structurell-permission-action":"edit","x-structurell-permission-scope":"subscription_admin","x-structurell-capability-code":"assets.library","x-structurell-feature-code":"assets.assets","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":true,"x-structurell-tenant-context":"required","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.asset.attribute.set.disable","action":"edit"},"x-structurell-required-capability-code":"assets.library","x-structurell-required-feature-code":"assets.assets"}},"\/assets\/overview":{"get":{"tags":["Overview"],"summary":"Get overview","operationId":"get-assets-overview","description":"Get overview","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X GET -G \"http:\/\/api.structurell.internal\/assets\/overview\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/overview\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"GET\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/overview\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.overview","x-structurell-permission-action":"view","x-structurell-permission-scope":"authenticated","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.overviews","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"optional","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.overview","action":"view"},"x-structurell-required-feature-code":"assets.overviews"}},"\/assets\/overview\/entities\/resolve":{"post":{"tags":["Overview Entities Resolve"],"summary":"Update resolve","operationId":"post-assets-overview-entities-resolve","description":"Update resolve","parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SuccessResponse"}}}},"422":{"description":"The request failed validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"The request exceeded a rate limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until a retry is permitted."},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}}}},"x-code-samples":[{"lang":"Bash","source":"curl -X POST \"http:\/\/api.structurell.internal\/assets\/overview\/entities\/resolve\" \n"},{"lang":"Javascript","source":"const url = new URL(\"http:\/\/api.structurell.internal\/assets\/overview\/entities\/resolve\");\n\nlet headers = {\n    \"Accept\": \"application\/json\",\n    \"Content-Type\": \"application\/json\",\n}\n\nfetch(url, {\nmethod: \"POST\",\nheaders: headers,\n})\n.then(response => response.json())\n.then(json => console.log(json));\n"},{"lang":"PHP","source":"$headers = [\n    \"Accept\" => \"application\/json\",\n    \"Content-Type\" => \"application\/json\",\n];\n\n\n$ch = curl_init(\"http:\/\/api.structurell.internalphp.blade.php\/assets\/overview\/entities\/resolve\");\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$result = curl_exec($ch);\n$err = curl_error($ch);\ncurl_close($ch);\n\nif ($err) {\nthrow \\Exception($err);\n} else {\nreturn $response;\n}\n"}],"x-structurell-permission-key":"assets.overview.entities.resolve","x-structurell-permission-action":"create","x-structurell-permission-scope":"authenticated","x-structurell-capability-code":null,"x-structurell-feature-code":"assets.overviews","x-structurell-docs-visible":true,"x-structurell-open-route":false,"x-structurell-subscription-admin-only":false,"x-structurell-tenant-context":"optional","x-structurell-idempotency":{"supported":false,"required":false,"parameter":null},"x-structurell-rate-limit":{"policy":null,"status":429,"retry_after_header":"Retry-After"},"x-structurell-required-permission":{"key":"assets.overview.entities.resolve","action":"create"},"x-structurell-required-feature-code":"assets.overviews"}}},"x-tagGroups":[],"x-structurell-contract-version":1,"x-structurell-generated-at":"2026-08-11T09:25:01+00:00","x-structurell-service":{"code":"assets","version":"1.1.23","documentation_url":"https:\/\/api.structurell.com\/assets\/documentation","openapi_url":"https:\/\/api.structurell.com\/assets\/openapi.json"},"x-structurell-conventions":{"tenant_context":"Required when x-structurell-tenant-context is required; resolve it from the authenticated subscription context.","idempotency":"Supply idempotency_key when x-structurell-idempotency is supported or required.","rate_limit_status":429,"rate_limit_headers":["Retry-After","X-RateLimit-Limit","X-RateLimit-Remaining","X-RateLimit-Reset"],"error_schema":"#\/components\/schemas\/ErrorResponse","pagination_schema":"#\/components\/schemas\/Pagination"}}