@deepraxis/sdk 0.1.0-dev.c0c05d8 → 0.1.0-dev.c45414d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,25 +129,11 @@ export const operations = [
129
129
  "description": "Tool configurations available to the agent. Maximum of 128 tools\nacross all toolsets allowed."
130
130
  },
131
131
  {
132
- "name": "databases",
133
- "type": "array",
134
- "itemType": "object",
135
- "required": false,
136
- "description": "Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
137
- },
138
- {
139
- "name": "vector_stores",
140
- "type": "array",
141
- "itemType": "object",
142
- "required": false,
143
- "description": "Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
144
- },
145
- {
146
- "name": "files",
132
+ "name": "bindings",
147
133
  "type": "array",
148
134
  "itemType": "object",
149
135
  "required": false,
150
- "description": "File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
136
+ "description": "Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file_..., read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. A resource that is not bound returns 404, a service that is not opened returns 403, and writes to read_only resources are refused. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings."
151
137
  },
152
138
  {
153
139
  "name": "kind",
@@ -197,6 +183,12 @@ export const operations = [
197
183
  "required": false,
198
184
  "description": "Praxis extension: switchable model ids on /agent/v1 only. The default model must be included. When omitted, only the default model is selectable."
199
185
  },
186
+ {
187
+ "name": "avatar",
188
+ "type": "string",
189
+ "required": false,
190
+ "description": "Avatar image of the agent: an absolute https URL of at most 2048 characters, without credentials; any other value returns 400 avatar must be an https URL. It is the default picture in agent lists, the agent detail, the chat header and embedded chat when the embed appearance sets none. Saved with the agent version like other configuration, so apply=false keeps the previous avatar in effect until that version is applied. Omit on create for no avatar; on update, omit to keep it and send null to clear it. Both personal and service agents accept it. /agent/v1 only; /anthropic neither accepts nor returns it."
191
+ },
200
192
  {
201
193
  "name": "preset",
202
194
  "type": "string",
@@ -239,7 +231,7 @@ export const operations = [
239
231
  "resource": "agent.agents",
240
232
  "method": "update",
241
233
  "summary": "Update agent",
242
- "description": "Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version; existing sessions keep the version they were created with. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. Unlike Anthropic Managed Agents, nonempty skills attachments return 400; use the native skill tool for available runtime skills.",
234
+ "description": "Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version. apply defaults to true and moves active_version to the new version, or to the latest when configuration is unchanged; apply false saves without applying. version_note optionally records up to 280 characters on a newly created version. Existing sessions and tokens keep their version. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. Unlike Anthropic Managed Agents, nonempty skills attachments return 400; use the native skill tool for available runtime skills.",
243
235
  "http": "POST",
244
236
  "path": "/agent/v1/agents/{agent_id}",
245
237
  "streaming": "no",
@@ -318,25 +310,23 @@ export const operations = [
318
310
  "description": "The agent's current version, used to prevent concurrent overwrites.\nObtain this value from a create or retrieve response. Must be at least 1 if\nspecified. When supplied, the request fails if it does not match the server's\ncurrent version; omit to apply the update unconditionally."
319
311
  },
320
312
  {
321
- "name": "databases",
322
- "type": "array",
323
- "itemType": "object",
313
+ "name": "apply",
314
+ "type": "boolean",
324
315
  "required": false,
325
- "description": "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
316
+ "description": "Defaults to true: apply the newly saved version, or the latest version when configuration is unchanged. Set false to save without changing active_version. Unlike Managed Agents, saving and applying can be separate."
326
317
  },
327
318
  {
328
- "name": "vector_stores",
329
- "type": "array",
330
- "itemType": "object",
319
+ "name": "version_note",
320
+ "type": "string",
331
321
  "required": false,
332
- "description": "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
322
+ "description": "Optional change explanation stored as note on the new immutable version, up to 280 characters. Omission stores null. A note alone does not create a version or rewrite an existing note."
333
323
  },
334
324
  {
335
- "name": "files",
325
+ "name": "bindings",
336
326
  "type": "array",
337
327
  "itemType": "object",
338
328
  "required": false,
339
- "description": "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
329
+ "description": "Replace the whole bindings list; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept a nonempty list."
340
330
  },
341
331
  {
342
332
  "name": "kind",
@@ -386,6 +376,12 @@ export const operations = [
386
376
  "required": false,
387
377
  "description": "Praxis extension: switchable model ids on /agent/v1 only. The default model must be included. When omitted, only the default model is selectable."
388
378
  },
379
+ {
380
+ "name": "avatar",
381
+ "type": "string",
382
+ "required": false,
383
+ "description": "Avatar image of the agent: an absolute https URL of at most 2048 characters, without credentials; any other value returns 400 avatar must be an https URL. It is the default picture in agent lists, the agent detail, the chat header and embedded chat when the embed appearance sets none. Saved with the agent version like other configuration, so apply=false keeps the previous avatar in effect until that version is applied. Omit on create for no avatar; on update, omit to keep it and send null to clear it. Both personal and service agents accept it. /agent/v1 only; /anthropic neither accepts nor returns it."
384
+ },
389
385
  {
390
386
  "name": "preset",
391
387
  "type": "string",
@@ -633,6 +629,27 @@ export const operations = [
633
629
  }
634
630
  ]
635
631
  },
632
+ {
633
+ "resource": "agent.agents.versions",
634
+ "method": "apply",
635
+ "summary": "Apply Agent Version",
636
+ "description": "Apply a version from agents.versions.list by its version number. This idempotent operation changes active_version without creating a version; existing sessions and tokens keep their version. The response is the latest saved agent with its current active_version. Missing versions return 404 Agent version not found; archived agents return 409 Agent is archived. For example, POST /agent/v1/agents/{agent_id}/versions/2/apply with no body.",
637
+ "http": "POST",
638
+ "path": "/agent/v1/agents/{agent_id}/versions/{version}/apply",
639
+ "streaming": "no",
640
+ "pagination": false,
641
+ "pathParams": [
642
+ {
643
+ "name": "agent_id",
644
+ "sdkName": "agent_id"
645
+ },
646
+ {
647
+ "name": "version",
648
+ "sdkName": "version"
649
+ }
650
+ ],
651
+ "query": []
652
+ },
636
653
  {
637
654
  "resource": "agent.computers",
638
655
  "method": "list",
@@ -1835,7 +1852,7 @@ export const operations = [
1835
1852
  "resource": "agent.sessions",
1836
1853
  "method": "create",
1837
1854
  "summary": "Create session",
1838
- "description": "Create a session: one conversation with an agent. Pass agent as an agent id (latest version) or {id, version, type:\"agent\"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, omission returns environment_id=light; explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.",
1855
+ "description": "Create a session: one conversation with an agent. Pass agent as an agent id (active_version) or {id, version, type:\"agent\"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, omission returns environment_id=light; explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.",
1839
1856
  "http": "POST",
1840
1857
  "path": "/agent/v1/sessions",
1841
1858
  "streaming": "no",
@@ -3563,13 +3580,13 @@ export const operations = [
3563
3580
  "name": "namespace",
3564
3581
  "type": "string",
3565
3582
  "required": true,
3566
- "description": "Choose a namespace without prior registration; praxis is read-only. Folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
3583
+ "description": "Choose a namespace without prior registration; praxis is reserved for built-in Actions. Folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
3567
3584
  },
3568
3585
  {
3569
3586
  "name": "name",
3570
3587
  "type": "string",
3571
3588
  "required": true,
3572
- "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
3589
+ "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
3573
3590
  },
3574
3591
  {
3575
3592
  "name": "description",
@@ -3632,8 +3649,8 @@ export const operations = [
3632
3649
  {
3633
3650
  "resource": "automation.actions",
3634
3651
  "method": "retrieve",
3635
- "summary": "Get an action",
3636
- "description": "Read the action and its full current implementation. The response ETag is the current revision ID for conditional updates.",
3652
+ "summary": "Get an Action with its current input and output JSON Schemas",
3653
+ "description": "Read the Action and its full current implementation, with input and output JSON Schemas at current_revision.input_schema and current_revision.output_schema. To read a built-in Action, use ns=praxis and name=<bare name>, for example name=ocr; invoke it in a script with call(\"ocr\", input). The response ETag is the current revision ID for conditional updates.",
3637
3654
  "http": "GET",
3638
3655
  "path": "/automation/v1/actions/{ns}/{name}",
3639
3656
  "streaming": "no",
@@ -4207,8 +4224,8 @@ export const operations = [
4207
4224
  {
4208
4225
  "resource": "automation.runs",
4209
4226
  "method": "create",
4210
- "summary": "Create a run",
4211
- "description": "Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. New non-deterministic run IDs contain 78 characters (run_ + 10-character base36 millisecond timestamp + 64-character hexadecimal DO ID), compared with 46 for legacy random IDs. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed. Minimal body: {\"source\":\"export default async () => ({ok: true});\",\"language\":\"ts\",\"wait\":10}.",
4227
+ "summary": "Run a published target or execute draft source",
4228
+ "description": "Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. Minimal script: `export default async ({ file_id }: { file_id: string }) => { const result = await call(\"ocr\", { document: { type: \"file\", file_id } }); return result; }`; send it as source with language=\"ts\", input={\"file_id\":\"<uploaded file ID>\"} and wait=0, using a PDF or image already uploaded to your account. To call a platform API directly in the same script, use the praxis SDK object, for example `praxis.model.ocr.create({ body: { model: \"glm-ocr\", document: { type: \"file\", file_id } } })`; Action IDs are strings passed to call(), not SDK methods such as praxis.ocr(...). praxis, call, invoke, console and codemode are module-scope bindings, not on globalThis, and need no import; invoke(\"namespace/name\", input) starts a child run. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. For long-running, background or batch work, use wait: 0 and poll the run, or split work into child runs or a workflow; wait only controls the response wait and does not extend execution limits. Actions time out after 30 s (run-sandbox after 10 min); scripts have a 5 min wall-clock limit and a 30 s CPU limit; workflows default to 24 h and allow up to 7 days. Each run can start at most 100 child runs, with at most 20 active at once; nesting depth is limited to 10. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. New non-deterministic run IDs contain 78 characters, compared with 46 for legacy random IDs; treat IDs as opaque strings. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed.",
4212
4229
  "http": "POST",
4213
4230
  "path": "/automation/v1/runs",
4214
4231
  "streaming": "no",
@@ -4686,7 +4703,7 @@ export const operations = [
4686
4703
  "resource": "automation.scripts",
4687
4704
  "method": "create",
4688
4705
  "summary": "Create a script",
4689
- "description": "Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. Choose your own namespace without registering it first; praxis is read-only. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: \"Hello, \" + input.name});`. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later, use the returned draft.revision as expected_draft_revision.",
4706
+ "description": "Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: \"Hello, \" + input.name});`. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call(\"ocr\", input) calls a built-in Action, and invoke(\"namespace/name\", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later, use the returned draft.revision as expected_draft_revision.",
4690
4707
  "http": "POST",
4691
4708
  "path": "/automation/v1/scripts",
4692
4709
  "streaming": "no",
@@ -4700,13 +4717,13 @@ export const operations = [
4700
4717
  "name": "namespace",
4701
4718
  "type": "string",
4702
4719
  "required": true,
4703
- "description": "Choose a namespace without prior registration; praxis is read-only. Folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
4720
+ "description": "Choose a namespace without prior registration; praxis is reserved for built-in Actions. Folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
4704
4721
  },
4705
4722
  {
4706
4723
  "name": "name",
4707
4724
  "type": "string",
4708
4725
  "required": true,
4709
- "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
4726
+ "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
4710
4727
  },
4711
4728
  {
4712
4729
  "name": "description",
@@ -4754,7 +4771,7 @@ export const operations = [
4754
4771
  "resource": "automation.scripts",
4755
4772
  "method": "update",
4756
4773
  "summary": "Update a script draft",
4757
- "description": "Update description, labels or draft with the current draft revision in If-Match. Even metadata-only updates create a new draft revision.",
4774
+ "description": "Update description, labels or draft with the current draft revision in If-Match. Even metadata-only updates create a new draft revision. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call(\"ocr\", input) calls a built-in Action, and invoke(\"namespace/name\", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist.",
4758
4775
  "http": "PATCH",
4759
4776
  "path": "/automation/v1/scripts/{ns}/{name}",
4760
4777
  "streaming": "no",
@@ -5708,7 +5725,7 @@ export const operations = [
5708
5725
  "resource": "automation.workflows",
5709
5726
  "method": "create",
5710
5727
  "summary": "Create a workflow",
5711
- "description": "Save a YAML workflow as an editable draft without publishing or starting a run. Choose your own namespace without registering it first; praxis is read-only. To test the draft, send its source and language=yaml to praxis.automation.runs.create. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.",
5728
+ "description": "Save a YAML workflow as an editable draft without publishing or starting a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. To test the draft, send its source and language=yaml to praxis.automation.runs.create. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.",
5712
5729
  "http": "POST",
5713
5730
  "path": "/automation/v1/workflows",
5714
5731
  "streaming": "no",
@@ -5722,13 +5739,13 @@ export const operations = [
5722
5739
  "name": "namespace",
5723
5740
  "type": "string",
5724
5741
  "required": true,
5725
- "description": "Choose a namespace without prior registration; praxis is read-only. Folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
5742
+ "description": "Choose a namespace without prior registration; praxis is reserved for built-in Actions. Folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
5726
5743
  },
5727
5744
  {
5728
5745
  "name": "name",
5729
5746
  "type": "string",
5730
5747
  "required": true,
5731
- "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
5748
+ "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
5732
5749
  },
5733
5750
  {
5734
5751
  "name": "description",
@@ -13845,6 +13862,1466 @@ export const operations = [
13845
13862
  ]
13846
13863
  }
13847
13864
  },
13865
+ {
13866
+ "resource": "ticket.activity",
13867
+ "method": "retrieve",
13868
+ "summary": "List activity",
13869
+ "description": "List activity within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
13870
+ "http": "GET",
13871
+ "path": "/ticket/v1/activity",
13872
+ "streaming": "no",
13873
+ "pagination": false,
13874
+ "pathParams": [],
13875
+ "query": [
13876
+ {
13877
+ "name": "repository",
13878
+ "type": "string",
13879
+ "required": false,
13880
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
13881
+ },
13882
+ {
13883
+ "name": "page_size",
13884
+ "type": "integer",
13885
+ "required": false,
13886
+ "description": "Records per page; defaults to 30, maximum 100."
13887
+ },
13888
+ {
13889
+ "name": "page_token",
13890
+ "type": "string",
13891
+ "required": false,
13892
+ "description": "Cursor returned as next_page_token; omit for the first page."
13893
+ },
13894
+ {
13895
+ "name": "filter",
13896
+ "type": "string",
13897
+ "required": false,
13898
+ "description": "Activity qualifiers: actor, actor-kind, action, ticket, source and since; passed unchanged to the service."
13899
+ }
13900
+ ]
13901
+ },
13902
+ {
13903
+ "resource": "ticket.comments",
13904
+ "method": "delete",
13905
+ "summary": "Remove comments",
13906
+ "description": "Remove comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
13907
+ "http": "DELETE",
13908
+ "path": "/ticket/v1/comments/{id}",
13909
+ "streaming": "no",
13910
+ "pagination": false,
13911
+ "pathParams": [
13912
+ {
13913
+ "name": "id",
13914
+ "sdkName": "id"
13915
+ }
13916
+ ],
13917
+ "query": [
13918
+ {
13919
+ "name": "repository",
13920
+ "type": "string",
13921
+ "required": false,
13922
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
13923
+ }
13924
+ ]
13925
+ },
13926
+ {
13927
+ "resource": "ticket.comments",
13928
+ "method": "retrieve",
13929
+ "summary": "Read comments",
13930
+ "description": "Read comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
13931
+ "http": "GET",
13932
+ "path": "/ticket/v1/comments/{id}",
13933
+ "streaming": "no",
13934
+ "pagination": false,
13935
+ "pathParams": [
13936
+ {
13937
+ "name": "id",
13938
+ "sdkName": "id"
13939
+ }
13940
+ ],
13941
+ "query": [
13942
+ {
13943
+ "name": "repository",
13944
+ "type": "string",
13945
+ "required": false,
13946
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
13947
+ }
13948
+ ]
13949
+ },
13950
+ {
13951
+ "resource": "ticket.comments",
13952
+ "method": "update",
13953
+ "summary": "Update comments",
13954
+ "description": "Update comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
13955
+ "http": "PATCH",
13956
+ "path": "/ticket/v1/comments/{id}",
13957
+ "streaming": "no",
13958
+ "pagination": false,
13959
+ "pathParams": [
13960
+ {
13961
+ "name": "id",
13962
+ "sdkName": "id"
13963
+ }
13964
+ ],
13965
+ "query": [
13966
+ {
13967
+ "name": "repository",
13968
+ "type": "string",
13969
+ "required": false,
13970
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
13971
+ }
13972
+ ],
13973
+ "body": {
13974
+ "required": true,
13975
+ "fields": [
13976
+ {
13977
+ "name": "body",
13978
+ "type": "string",
13979
+ "required": true,
13980
+ "description": "Markdown text, at most 65536 characters."
13981
+ },
13982
+ {
13983
+ "name": "in_reply_to",
13984
+ "type": "string",
13985
+ "required": false,
13986
+ "description": "Opaque identifier returned by this resource's create or list operation."
13987
+ }
13988
+ ]
13989
+ }
13990
+ },
13991
+ {
13992
+ "resource": "ticket.comments.reactions",
13993
+ "method": "list",
13994
+ "summary": "List reactions",
13995
+ "description": "List reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
13996
+ "http": "GET",
13997
+ "path": "/ticket/v1/comments/{id}/reactions",
13998
+ "streaming": "no",
13999
+ "pagination": false,
14000
+ "pathParams": [
14001
+ {
14002
+ "name": "id",
14003
+ "sdkName": "id"
14004
+ }
14005
+ ],
14006
+ "query": [
14007
+ {
14008
+ "name": "repository",
14009
+ "type": "string",
14010
+ "required": false,
14011
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14012
+ },
14013
+ {
14014
+ "name": "page_size",
14015
+ "type": "integer",
14016
+ "required": false,
14017
+ "description": "Records per page; defaults to 30, maximum 100."
14018
+ },
14019
+ {
14020
+ "name": "page_token",
14021
+ "type": "string",
14022
+ "required": false,
14023
+ "description": "Cursor returned as next_page_token; omit for the first page."
14024
+ }
14025
+ ]
14026
+ },
14027
+ {
14028
+ "resource": "ticket.comments.reactions",
14029
+ "method": "create",
14030
+ "summary": "Create or add reactions",
14031
+ "description": "Create or add reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14032
+ "http": "POST",
14033
+ "path": "/ticket/v1/comments/{id}/reactions",
14034
+ "streaming": "no",
14035
+ "pagination": false,
14036
+ "pathParams": [
14037
+ {
14038
+ "name": "id",
14039
+ "sdkName": "id"
14040
+ }
14041
+ ],
14042
+ "query": [
14043
+ {
14044
+ "name": "repository",
14045
+ "type": "string",
14046
+ "required": false,
14047
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14048
+ }
14049
+ ],
14050
+ "body": {
14051
+ "required": true,
14052
+ "fields": [
14053
+ {
14054
+ "name": "content",
14055
+ "type": "string",
14056
+ "enum": [
14057
+ "+1",
14058
+ "-1",
14059
+ "laugh",
14060
+ "confused",
14061
+ "heart",
14062
+ "hooray",
14063
+ "eyes",
14064
+ "rocket"
14065
+ ],
14066
+ "required": true,
14067
+ "description": "Reaction to add or remove: +1 approves, -1 disapproves, laugh, confused, heart, hooray, eyes, or rocket."
14068
+ }
14069
+ ]
14070
+ }
14071
+ },
14072
+ {
14073
+ "resource": "ticket.comments.reactions",
14074
+ "method": "delete",
14075
+ "summary": "Remove reactions",
14076
+ "description": "Remove reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14077
+ "http": "DELETE",
14078
+ "path": "/ticket/v1/comments/{id}/reactions/{content}",
14079
+ "streaming": "no",
14080
+ "pagination": false,
14081
+ "pathParams": [
14082
+ {
14083
+ "name": "id",
14084
+ "sdkName": "id"
14085
+ },
14086
+ {
14087
+ "name": "content",
14088
+ "sdkName": "content"
14089
+ }
14090
+ ],
14091
+ "query": [
14092
+ {
14093
+ "name": "repository",
14094
+ "type": "string",
14095
+ "required": false,
14096
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14097
+ }
14098
+ ]
14099
+ },
14100
+ {
14101
+ "resource": "ticket.labels",
14102
+ "method": "list",
14103
+ "summary": "List labels",
14104
+ "description": "List labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14105
+ "http": "GET",
14106
+ "path": "/ticket/v1/labels",
14107
+ "streaming": "no",
14108
+ "pagination": false,
14109
+ "pathParams": [],
14110
+ "query": [
14111
+ {
14112
+ "name": "repository",
14113
+ "type": "string",
14114
+ "required": false,
14115
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14116
+ },
14117
+ {
14118
+ "name": "page_size",
14119
+ "type": "integer",
14120
+ "required": false,
14121
+ "description": "Records per page; defaults to 30, maximum 100."
14122
+ },
14123
+ {
14124
+ "name": "page_token",
14125
+ "type": "string",
14126
+ "required": false,
14127
+ "description": "Cursor returned as next_page_token; omit for the first page."
14128
+ }
14129
+ ]
14130
+ },
14131
+ {
14132
+ "resource": "ticket.labels",
14133
+ "method": "create",
14134
+ "summary": "Create or add labels",
14135
+ "description": "Create or add labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14136
+ "http": "POST",
14137
+ "path": "/ticket/v1/labels",
14138
+ "streaming": "no",
14139
+ "pagination": false,
14140
+ "pathParams": [],
14141
+ "query": [
14142
+ {
14143
+ "name": "repository",
14144
+ "type": "string",
14145
+ "required": false,
14146
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14147
+ }
14148
+ ],
14149
+ "body": {
14150
+ "required": true,
14151
+ "fields": [
14152
+ {
14153
+ "name": "name",
14154
+ "type": "string",
14155
+ "required": true,
14156
+ "description": "Case-insensitive label name within the repository."
14157
+ },
14158
+ {
14159
+ "name": "color",
14160
+ "type": "string",
14161
+ "required": true,
14162
+ "description": "Six hexadecimal digits without #."
14163
+ },
14164
+ {
14165
+ "name": "description",
14166
+ "type": "string",
14167
+ "required": false,
14168
+ "description": "Label's purpose."
14169
+ }
14170
+ ]
14171
+ }
14172
+ },
14173
+ {
14174
+ "resource": "ticket.labels",
14175
+ "method": "delete",
14176
+ "summary": "Remove labels",
14177
+ "description": "Remove labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14178
+ "http": "DELETE",
14179
+ "path": "/ticket/v1/labels/{name}",
14180
+ "streaming": "no",
14181
+ "pagination": false,
14182
+ "pathParams": [
14183
+ {
14184
+ "name": "name",
14185
+ "sdkName": "name"
14186
+ }
14187
+ ],
14188
+ "query": [
14189
+ {
14190
+ "name": "repository",
14191
+ "type": "string",
14192
+ "required": false,
14193
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14194
+ }
14195
+ ]
14196
+ },
14197
+ {
14198
+ "resource": "ticket.labels",
14199
+ "method": "update",
14200
+ "summary": "Update labels",
14201
+ "description": "Update labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14202
+ "http": "PATCH",
14203
+ "path": "/ticket/v1/labels/{name}",
14204
+ "streaming": "no",
14205
+ "pagination": false,
14206
+ "pathParams": [
14207
+ {
14208
+ "name": "name",
14209
+ "sdkName": "name"
14210
+ }
14211
+ ],
14212
+ "query": [
14213
+ {
14214
+ "name": "repository",
14215
+ "type": "string",
14216
+ "required": false,
14217
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14218
+ }
14219
+ ],
14220
+ "body": {
14221
+ "required": true,
14222
+ "fields": [
14223
+ {
14224
+ "name": "color",
14225
+ "type": "string",
14226
+ "required": false,
14227
+ "description": "Six hexadecimal digits without #."
14228
+ },
14229
+ {
14230
+ "name": "description",
14231
+ "type": "string",
14232
+ "required": false,
14233
+ "description": "Label's purpose."
14234
+ },
14235
+ {
14236
+ "name": "new_name",
14237
+ "type": "string",
14238
+ "required": false,
14239
+ "description": "Case-insensitive label name within the repository."
14240
+ }
14241
+ ]
14242
+ }
14243
+ },
14244
+ {
14245
+ "resource": "ticket.milestones",
14246
+ "method": "list",
14247
+ "summary": "List milestones",
14248
+ "description": "List milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14249
+ "http": "GET",
14250
+ "path": "/ticket/v1/milestones",
14251
+ "streaming": "no",
14252
+ "pagination": false,
14253
+ "pathParams": [],
14254
+ "query": [
14255
+ {
14256
+ "name": "repository",
14257
+ "type": "string",
14258
+ "required": false,
14259
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14260
+ },
14261
+ {
14262
+ "name": "page_size",
14263
+ "type": "integer",
14264
+ "required": false,
14265
+ "description": "Records per page; defaults to 30, maximum 100."
14266
+ },
14267
+ {
14268
+ "name": "page_token",
14269
+ "type": "string",
14270
+ "required": false,
14271
+ "description": "Cursor returned as next_page_token; omit for the first page."
14272
+ }
14273
+ ]
14274
+ },
14275
+ {
14276
+ "resource": "ticket.milestones",
14277
+ "method": "create",
14278
+ "summary": "Create or add milestones",
14279
+ "description": "Create or add milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14280
+ "http": "POST",
14281
+ "path": "/ticket/v1/milestones",
14282
+ "streaming": "no",
14283
+ "pagination": false,
14284
+ "pathParams": [],
14285
+ "query": [
14286
+ {
14287
+ "name": "repository",
14288
+ "type": "string",
14289
+ "required": false,
14290
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14291
+ }
14292
+ ],
14293
+ "body": {
14294
+ "required": true,
14295
+ "fields": [
14296
+ {
14297
+ "name": "title",
14298
+ "type": "string",
14299
+ "required": true,
14300
+ "description": "Short title, at most 256 Unicode characters."
14301
+ },
14302
+ {
14303
+ "name": "description",
14304
+ "type": "string",
14305
+ "required": false,
14306
+ "description": "Milestone description."
14307
+ },
14308
+ {
14309
+ "name": "due_on",
14310
+ "type": "string",
14311
+ "required": false,
14312
+ "description": "Due date, or null if unset."
14313
+ },
14314
+ {
14315
+ "name": "state",
14316
+ "type": "string",
14317
+ "enum": [
14318
+ "open",
14319
+ "closed"
14320
+ ],
14321
+ "required": false,
14322
+ "description": "open means actionable; closed means resolved or declined."
14323
+ }
14324
+ ]
14325
+ }
14326
+ },
14327
+ {
14328
+ "resource": "ticket.milestones",
14329
+ "method": "delete",
14330
+ "summary": "Remove milestones",
14331
+ "description": "Remove milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14332
+ "http": "DELETE",
14333
+ "path": "/ticket/v1/milestones/{number}",
14334
+ "streaming": "no",
14335
+ "pagination": false,
14336
+ "pathParams": [
14337
+ {
14338
+ "name": "number",
14339
+ "sdkName": "number"
14340
+ }
14341
+ ],
14342
+ "query": [
14343
+ {
14344
+ "name": "repository",
14345
+ "type": "string",
14346
+ "required": false,
14347
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14348
+ }
14349
+ ]
14350
+ },
14351
+ {
14352
+ "resource": "ticket.milestones",
14353
+ "method": "retrieve",
14354
+ "summary": "Read milestones",
14355
+ "description": "Read milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14356
+ "http": "GET",
14357
+ "path": "/ticket/v1/milestones/{number}",
14358
+ "streaming": "no",
14359
+ "pagination": false,
14360
+ "pathParams": [
14361
+ {
14362
+ "name": "number",
14363
+ "sdkName": "number"
14364
+ }
14365
+ ],
14366
+ "query": [
14367
+ {
14368
+ "name": "repository",
14369
+ "type": "string",
14370
+ "required": false,
14371
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14372
+ }
14373
+ ]
14374
+ },
14375
+ {
14376
+ "resource": "ticket.milestones",
14377
+ "method": "update",
14378
+ "summary": "Update milestones",
14379
+ "description": "Update milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14380
+ "http": "PATCH",
14381
+ "path": "/ticket/v1/milestones/{number}",
14382
+ "streaming": "no",
14383
+ "pagination": false,
14384
+ "pathParams": [
14385
+ {
14386
+ "name": "number",
14387
+ "sdkName": "number"
14388
+ }
14389
+ ],
14390
+ "query": [
14391
+ {
14392
+ "name": "repository",
14393
+ "type": "string",
14394
+ "required": false,
14395
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14396
+ }
14397
+ ],
14398
+ "body": {
14399
+ "required": true,
14400
+ "fields": [
14401
+ {
14402
+ "name": "title",
14403
+ "type": "string",
14404
+ "required": false,
14405
+ "description": "Short title, at most 256 Unicode characters."
14406
+ },
14407
+ {
14408
+ "name": "description",
14409
+ "type": "string",
14410
+ "required": false,
14411
+ "description": "Milestone description."
14412
+ },
14413
+ {
14414
+ "name": "due_on",
14415
+ "type": "string",
14416
+ "required": false,
14417
+ "description": "Due date, or null if unset."
14418
+ },
14419
+ {
14420
+ "name": "state",
14421
+ "type": "string",
14422
+ "enum": [
14423
+ "open",
14424
+ "closed"
14425
+ ],
14426
+ "required": false,
14427
+ "description": "open means actionable; closed means resolved or declined."
14428
+ }
14429
+ ]
14430
+ }
14431
+ },
14432
+ {
14433
+ "resource": "ticket.repositories",
14434
+ "method": "list",
14435
+ "summary": "List repositories",
14436
+ "description": "List repositories within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14437
+ "http": "GET",
14438
+ "path": "/ticket/v1/repositories",
14439
+ "streaming": "no",
14440
+ "pagination": false,
14441
+ "pathParams": [],
14442
+ "query": [
14443
+ {
14444
+ "name": "page_size",
14445
+ "type": "integer",
14446
+ "required": false,
14447
+ "description": "Records per page; defaults to 30, maximum 100."
14448
+ },
14449
+ {
14450
+ "name": "page_token",
14451
+ "type": "string",
14452
+ "required": false,
14453
+ "description": "Cursor returned as next_page_token; omit for the first page."
14454
+ }
14455
+ ]
14456
+ },
14457
+ {
14458
+ "resource": "ticket.tickets",
14459
+ "method": "list",
14460
+ "summary": "List tickets",
14461
+ "description": "List tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14462
+ "http": "GET",
14463
+ "path": "/ticket/v1/tickets",
14464
+ "streaming": "no",
14465
+ "pagination": false,
14466
+ "pathParams": [],
14467
+ "query": [
14468
+ {
14469
+ "name": "repository",
14470
+ "type": "string",
14471
+ "required": false,
14472
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14473
+ },
14474
+ {
14475
+ "name": "page_size",
14476
+ "type": "integer",
14477
+ "required": false,
14478
+ "description": "Records per page; defaults to 30, maximum 100."
14479
+ },
14480
+ {
14481
+ "name": "page_token",
14482
+ "type": "string",
14483
+ "required": false,
14484
+ "description": "Cursor returned as next_page_token; omit for the first page."
14485
+ },
14486
+ {
14487
+ "name": "filter",
14488
+ "type": "string",
14489
+ "required": false,
14490
+ "description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service."
14491
+ }
14492
+ ]
14493
+ },
14494
+ {
14495
+ "resource": "ticket.tickets",
14496
+ "method": "create",
14497
+ "summary": "Create or add tickets",
14498
+ "description": "Create or add tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14499
+ "http": "POST",
14500
+ "path": "/ticket/v1/tickets",
14501
+ "streaming": "no",
14502
+ "pagination": false,
14503
+ "pathParams": [],
14504
+ "query": [
14505
+ {
14506
+ "name": "repository",
14507
+ "type": "string",
14508
+ "required": false,
14509
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14510
+ }
14511
+ ],
14512
+ "body": {
14513
+ "required": true,
14514
+ "fields": [
14515
+ {
14516
+ "name": "title",
14517
+ "type": "string",
14518
+ "required": true,
14519
+ "description": "Short title, at most 256 Unicode characters."
14520
+ },
14521
+ {
14522
+ "name": "body",
14523
+ "type": "string",
14524
+ "required": false,
14525
+ "description": "Markdown text, at most 65536 characters."
14526
+ },
14527
+ {
14528
+ "name": "type",
14529
+ "type": "string",
14530
+ "required": false,
14531
+ "description": "Built-in type name; null clears an existing type."
14532
+ },
14533
+ {
14534
+ "name": "labels",
14535
+ "type": "array",
14536
+ "itemType": "string",
14537
+ "required": false,
14538
+ "description": "Labels attached to this ticket; updates replace the complete list."
14539
+ },
14540
+ {
14541
+ "name": "assignees",
14542
+ "type": "array",
14543
+ "itemType": "string",
14544
+ "required": false,
14545
+ "description": "Complete assignee list, at most ten."
14546
+ },
14547
+ {
14548
+ "name": "milestone",
14549
+ "type": "integer",
14550
+ "required": false,
14551
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
14552
+ },
14553
+ {
14554
+ "name": "parent",
14555
+ "type": "integer",
14556
+ "required": false,
14557
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
14558
+ }
14559
+ ]
14560
+ }
14561
+ },
14562
+ {
14563
+ "resource": "ticket.tickets",
14564
+ "method": "retrieve",
14565
+ "summary": "Read tickets",
14566
+ "description": "Read tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14567
+ "http": "GET",
14568
+ "path": "/ticket/v1/tickets/{number}",
14569
+ "streaming": "no",
14570
+ "pagination": false,
14571
+ "pathParams": [
14572
+ {
14573
+ "name": "number",
14574
+ "sdkName": "number"
14575
+ }
14576
+ ],
14577
+ "query": [
14578
+ {
14579
+ "name": "repository",
14580
+ "type": "string",
14581
+ "required": false,
14582
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14583
+ }
14584
+ ]
14585
+ },
14586
+ {
14587
+ "resource": "ticket.tickets",
14588
+ "method": "update",
14589
+ "summary": "Update tickets",
14590
+ "description": "Update tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14591
+ "http": "PATCH",
14592
+ "path": "/ticket/v1/tickets/{number}",
14593
+ "streaming": "no",
14594
+ "pagination": false,
14595
+ "pathParams": [
14596
+ {
14597
+ "name": "number",
14598
+ "sdkName": "number"
14599
+ }
14600
+ ],
14601
+ "query": [
14602
+ {
14603
+ "name": "repository",
14604
+ "type": "string",
14605
+ "required": false,
14606
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14607
+ }
14608
+ ],
14609
+ "body": {
14610
+ "required": true,
14611
+ "fields": [
14612
+ {
14613
+ "name": "title",
14614
+ "type": "string",
14615
+ "required": false,
14616
+ "description": "Short title, at most 256 Unicode characters."
14617
+ },
14618
+ {
14619
+ "name": "body",
14620
+ "type": "string",
14621
+ "required": false,
14622
+ "description": "Markdown text, at most 65536 characters."
14623
+ },
14624
+ {
14625
+ "name": "type",
14626
+ "type": "string",
14627
+ "required": false,
14628
+ "description": "Built-in type name; null clears an existing type."
14629
+ },
14630
+ {
14631
+ "name": "labels",
14632
+ "type": "array",
14633
+ "itemType": "string",
14634
+ "required": false,
14635
+ "description": "Labels attached to this ticket; updates replace the complete list."
14636
+ },
14637
+ {
14638
+ "name": "assignees",
14639
+ "type": "array",
14640
+ "itemType": "string",
14641
+ "required": false,
14642
+ "description": "Complete assignee list, at most ten."
14643
+ },
14644
+ {
14645
+ "name": "milestone",
14646
+ "type": "integer",
14647
+ "required": false,
14648
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
14649
+ },
14650
+ {
14651
+ "name": "state",
14652
+ "type": "string",
14653
+ "enum": [
14654
+ "open",
14655
+ "closed"
14656
+ ],
14657
+ "required": false,
14658
+ "description": "open means actionable; closed means resolved or declined."
14659
+ },
14660
+ {
14661
+ "name": "state_reason",
14662
+ "type": "string",
14663
+ "enum": [
14664
+ "completed",
14665
+ "not_planned",
14666
+ "duplicate"
14667
+ ],
14668
+ "required": false,
14669
+ "description": "Reason for closing: completed resolves, not_planned declines, duplicate marks a duplicate."
14670
+ },
14671
+ {
14672
+ "name": "duplicate_of",
14673
+ "type": "integer",
14674
+ "required": false,
14675
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
14676
+ }
14677
+ ]
14678
+ }
14679
+ },
14680
+ {
14681
+ "resource": "ticket.tickets.comments",
14682
+ "method": "list",
14683
+ "summary": "List comments",
14684
+ "description": "List comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14685
+ "http": "GET",
14686
+ "path": "/ticket/v1/tickets/{number}/comments",
14687
+ "streaming": "no",
14688
+ "pagination": false,
14689
+ "pathParams": [
14690
+ {
14691
+ "name": "number",
14692
+ "sdkName": "number"
14693
+ }
14694
+ ],
14695
+ "query": [
14696
+ {
14697
+ "name": "repository",
14698
+ "type": "string",
14699
+ "required": false,
14700
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14701
+ },
14702
+ {
14703
+ "name": "page_size",
14704
+ "type": "integer",
14705
+ "required": false,
14706
+ "description": "Records per page; defaults to 30, maximum 100."
14707
+ },
14708
+ {
14709
+ "name": "page_token",
14710
+ "type": "string",
14711
+ "required": false,
14712
+ "description": "Cursor returned as next_page_token; omit for the first page."
14713
+ }
14714
+ ]
14715
+ },
14716
+ {
14717
+ "resource": "ticket.tickets.comments",
14718
+ "method": "create",
14719
+ "summary": "Create or add comments",
14720
+ "description": "Create or add comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14721
+ "http": "POST",
14722
+ "path": "/ticket/v1/tickets/{number}/comments",
14723
+ "streaming": "no",
14724
+ "pagination": false,
14725
+ "pathParams": [
14726
+ {
14727
+ "name": "number",
14728
+ "sdkName": "number"
14729
+ }
14730
+ ],
14731
+ "query": [
14732
+ {
14733
+ "name": "repository",
14734
+ "type": "string",
14735
+ "required": false,
14736
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14737
+ }
14738
+ ],
14739
+ "body": {
14740
+ "required": true,
14741
+ "fields": [
14742
+ {
14743
+ "name": "body",
14744
+ "type": "string",
14745
+ "required": true,
14746
+ "description": "Markdown text, at most 65536 characters."
14747
+ },
14748
+ {
14749
+ "name": "in_reply_to",
14750
+ "type": "string",
14751
+ "required": false,
14752
+ "description": "Opaque identifier returned by this resource's create or list operation."
14753
+ }
14754
+ ]
14755
+ }
14756
+ },
14757
+ {
14758
+ "resource": "ticket.tickets.dependencies",
14759
+ "method": "retrieveBlockedBy",
14760
+ "summary": "List blocked by",
14761
+ "description": "List blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14762
+ "http": "GET",
14763
+ "path": "/ticket/v1/tickets/{number}/dependencies/blocked_by",
14764
+ "streaming": "no",
14765
+ "pagination": false,
14766
+ "pathParams": [
14767
+ {
14768
+ "name": "number",
14769
+ "sdkName": "number"
14770
+ }
14771
+ ],
14772
+ "query": [
14773
+ {
14774
+ "name": "repository",
14775
+ "type": "string",
14776
+ "required": false,
14777
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14778
+ },
14779
+ {
14780
+ "name": "page_size",
14781
+ "type": "integer",
14782
+ "required": false,
14783
+ "description": "Records per page; defaults to 30, maximum 100."
14784
+ },
14785
+ {
14786
+ "name": "page_token",
14787
+ "type": "string",
14788
+ "required": false,
14789
+ "description": "Cursor returned as next_page_token; omit for the first page."
14790
+ }
14791
+ ]
14792
+ },
14793
+ {
14794
+ "resource": "ticket.tickets.dependencies.blockedBy",
14795
+ "method": "create",
14796
+ "summary": "Create or add blocked by",
14797
+ "description": "Create or add blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14798
+ "http": "POST",
14799
+ "path": "/ticket/v1/tickets/{number}/dependencies/blocked_by",
14800
+ "streaming": "no",
14801
+ "pagination": false,
14802
+ "pathParams": [
14803
+ {
14804
+ "name": "number",
14805
+ "sdkName": "number"
14806
+ }
14807
+ ],
14808
+ "query": [
14809
+ {
14810
+ "name": "repository",
14811
+ "type": "string",
14812
+ "required": false,
14813
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14814
+ }
14815
+ ],
14816
+ "body": {
14817
+ "required": true,
14818
+ "fields": [
14819
+ {
14820
+ "name": "blocked_by",
14821
+ "type": "integer",
14822
+ "required": true,
14823
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
14824
+ }
14825
+ ]
14826
+ }
14827
+ },
14828
+ {
14829
+ "resource": "ticket.tickets.dependencies.blockedBy",
14830
+ "method": "delete",
14831
+ "summary": "Remove blocked by",
14832
+ "description": "Remove blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14833
+ "http": "DELETE",
14834
+ "path": "/ticket/v1/tickets/{number}/dependencies/blocked_by/{n}",
14835
+ "streaming": "no",
14836
+ "pagination": false,
14837
+ "pathParams": [
14838
+ {
14839
+ "name": "number",
14840
+ "sdkName": "number"
14841
+ },
14842
+ {
14843
+ "name": "n",
14844
+ "sdkName": "n"
14845
+ }
14846
+ ],
14847
+ "query": [
14848
+ {
14849
+ "name": "repository",
14850
+ "type": "string",
14851
+ "required": false,
14852
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14853
+ }
14854
+ ]
14855
+ },
14856
+ {
14857
+ "resource": "ticket.tickets.dependencies",
14858
+ "method": "retrieveBlocking",
14859
+ "summary": "List blocking",
14860
+ "description": "List blocking within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14861
+ "http": "GET",
14862
+ "path": "/ticket/v1/tickets/{number}/dependencies/blocking",
14863
+ "streaming": "no",
14864
+ "pagination": false,
14865
+ "pathParams": [
14866
+ {
14867
+ "name": "number",
14868
+ "sdkName": "number"
14869
+ }
14870
+ ],
14871
+ "query": [
14872
+ {
14873
+ "name": "repository",
14874
+ "type": "string",
14875
+ "required": false,
14876
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14877
+ },
14878
+ {
14879
+ "name": "page_size",
14880
+ "type": "integer",
14881
+ "required": false,
14882
+ "description": "Records per page; defaults to 30, maximum 100."
14883
+ },
14884
+ {
14885
+ "name": "page_token",
14886
+ "type": "string",
14887
+ "required": false,
14888
+ "description": "Cursor returned as next_page_token; omit for the first page."
14889
+ }
14890
+ ]
14891
+ },
14892
+ {
14893
+ "resource": "ticket.tickets.events",
14894
+ "method": "list",
14895
+ "summary": "List events",
14896
+ "description": "List events within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14897
+ "http": "GET",
14898
+ "path": "/ticket/v1/tickets/{number}/events",
14899
+ "streaming": "no",
14900
+ "pagination": false,
14901
+ "pathParams": [
14902
+ {
14903
+ "name": "number",
14904
+ "sdkName": "number"
14905
+ }
14906
+ ],
14907
+ "query": [
14908
+ {
14909
+ "name": "repository",
14910
+ "type": "string",
14911
+ "required": false,
14912
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14913
+ },
14914
+ {
14915
+ "name": "page_size",
14916
+ "type": "integer",
14917
+ "required": false,
14918
+ "description": "Records per page; defaults to 30, maximum 100."
14919
+ },
14920
+ {
14921
+ "name": "page_token",
14922
+ "type": "string",
14923
+ "required": false,
14924
+ "description": "Cursor returned as next_page_token; omit for the first page."
14925
+ }
14926
+ ]
14927
+ },
14928
+ {
14929
+ "resource": "ticket.tickets",
14930
+ "method": "deleteLock",
14931
+ "summary": "Remove lock",
14932
+ "description": "Remove lock within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14933
+ "http": "DELETE",
14934
+ "path": "/ticket/v1/tickets/{number}/lock",
14935
+ "streaming": "no",
14936
+ "pagination": false,
14937
+ "pathParams": [
14938
+ {
14939
+ "name": "number",
14940
+ "sdkName": "number"
14941
+ }
14942
+ ],
14943
+ "query": [
14944
+ {
14945
+ "name": "repository",
14946
+ "type": "string",
14947
+ "required": false,
14948
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14949
+ }
14950
+ ]
14951
+ },
14952
+ {
14953
+ "resource": "ticket.tickets",
14954
+ "method": "updateLock",
14955
+ "summary": "Update lock",
14956
+ "description": "Update lock within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14957
+ "http": "PUT",
14958
+ "path": "/ticket/v1/tickets/{number}/lock",
14959
+ "streaming": "no",
14960
+ "pagination": false,
14961
+ "pathParams": [
14962
+ {
14963
+ "name": "number",
14964
+ "sdkName": "number"
14965
+ }
14966
+ ],
14967
+ "query": [
14968
+ {
14969
+ "name": "repository",
14970
+ "type": "string",
14971
+ "required": false,
14972
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14973
+ }
14974
+ ],
14975
+ "body": {
14976
+ "required": false,
14977
+ "fields": [
14978
+ {
14979
+ "name": "lock_reason",
14980
+ "type": "string",
14981
+ "enum": [
14982
+ "off-topic",
14983
+ "too heated",
14984
+ "resolved",
14985
+ "spam"
14986
+ ],
14987
+ "required": false,
14988
+ "description": "Reason for locking: off-topic, too heated, resolved, or spam."
14989
+ }
14990
+ ]
14991
+ }
14992
+ },
14993
+ {
14994
+ "resource": "ticket.tickets.reactions",
14995
+ "method": "list",
14996
+ "summary": "List reactions",
14997
+ "description": "List reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14998
+ "http": "GET",
14999
+ "path": "/ticket/v1/tickets/{number}/reactions",
15000
+ "streaming": "no",
15001
+ "pagination": false,
15002
+ "pathParams": [
15003
+ {
15004
+ "name": "number",
15005
+ "sdkName": "number"
15006
+ }
15007
+ ],
15008
+ "query": [
15009
+ {
15010
+ "name": "repository",
15011
+ "type": "string",
15012
+ "required": false,
15013
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15014
+ },
15015
+ {
15016
+ "name": "page_size",
15017
+ "type": "integer",
15018
+ "required": false,
15019
+ "description": "Records per page; defaults to 30, maximum 100."
15020
+ },
15021
+ {
15022
+ "name": "page_token",
15023
+ "type": "string",
15024
+ "required": false,
15025
+ "description": "Cursor returned as next_page_token; omit for the first page."
15026
+ }
15027
+ ]
15028
+ },
15029
+ {
15030
+ "resource": "ticket.tickets.reactions",
15031
+ "method": "create",
15032
+ "summary": "Create or add reactions",
15033
+ "description": "Create or add reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15034
+ "http": "POST",
15035
+ "path": "/ticket/v1/tickets/{number}/reactions",
15036
+ "streaming": "no",
15037
+ "pagination": false,
15038
+ "pathParams": [
15039
+ {
15040
+ "name": "number",
15041
+ "sdkName": "number"
15042
+ }
15043
+ ],
15044
+ "query": [
15045
+ {
15046
+ "name": "repository",
15047
+ "type": "string",
15048
+ "required": false,
15049
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15050
+ }
15051
+ ],
15052
+ "body": {
15053
+ "required": true,
15054
+ "fields": [
15055
+ {
15056
+ "name": "content",
15057
+ "type": "string",
15058
+ "enum": [
15059
+ "+1",
15060
+ "-1",
15061
+ "laugh",
15062
+ "confused",
15063
+ "heart",
15064
+ "hooray",
15065
+ "eyes",
15066
+ "rocket"
15067
+ ],
15068
+ "required": true,
15069
+ "description": "Reaction to add or remove: +1 approves, -1 disapproves, laugh, confused, heart, hooray, eyes, or rocket."
15070
+ }
15071
+ ]
15072
+ }
15073
+ },
15074
+ {
15075
+ "resource": "ticket.tickets.reactions",
15076
+ "method": "delete",
15077
+ "summary": "Remove reactions",
15078
+ "description": "Remove reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15079
+ "http": "DELETE",
15080
+ "path": "/ticket/v1/tickets/{number}/reactions/{content}",
15081
+ "streaming": "no",
15082
+ "pagination": false,
15083
+ "pathParams": [
15084
+ {
15085
+ "name": "number",
15086
+ "sdkName": "number"
15087
+ },
15088
+ {
15089
+ "name": "content",
15090
+ "sdkName": "content"
15091
+ }
15092
+ ],
15093
+ "query": [
15094
+ {
15095
+ "name": "repository",
15096
+ "type": "string",
15097
+ "required": false,
15098
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15099
+ }
15100
+ ]
15101
+ },
15102
+ {
15103
+ "resource": "ticket.tickets.relations",
15104
+ "method": "list",
15105
+ "summary": "List relations",
15106
+ "description": "List relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15107
+ "http": "GET",
15108
+ "path": "/ticket/v1/tickets/{number}/relations",
15109
+ "streaming": "no",
15110
+ "pagination": false,
15111
+ "pathParams": [
15112
+ {
15113
+ "name": "number",
15114
+ "sdkName": "number"
15115
+ }
15116
+ ],
15117
+ "query": [
15118
+ {
15119
+ "name": "repository",
15120
+ "type": "string",
15121
+ "required": false,
15122
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15123
+ },
15124
+ {
15125
+ "name": "page_size",
15126
+ "type": "integer",
15127
+ "required": false,
15128
+ "description": "Records per page; defaults to 30, maximum 100."
15129
+ },
15130
+ {
15131
+ "name": "page_token",
15132
+ "type": "string",
15133
+ "required": false,
15134
+ "description": "Cursor returned as next_page_token; omit for the first page."
15135
+ }
15136
+ ]
15137
+ },
15138
+ {
15139
+ "resource": "ticket.tickets.relations",
15140
+ "method": "create",
15141
+ "summary": "Create or add relations",
15142
+ "description": "Create or add relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15143
+ "http": "POST",
15144
+ "path": "/ticket/v1/tickets/{number}/relations",
15145
+ "streaming": "no",
15146
+ "pagination": false,
15147
+ "pathParams": [
15148
+ {
15149
+ "name": "number",
15150
+ "sdkName": "number"
15151
+ }
15152
+ ],
15153
+ "query": [
15154
+ {
15155
+ "name": "repository",
15156
+ "type": "string",
15157
+ "required": false,
15158
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15159
+ }
15160
+ ],
15161
+ "body": {
15162
+ "required": true,
15163
+ "fields": [
15164
+ {
15165
+ "name": "relates_to",
15166
+ "type": "integer",
15167
+ "required": true,
15168
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
15169
+ }
15170
+ ]
15171
+ }
15172
+ },
15173
+ {
15174
+ "resource": "ticket.tickets.relations",
15175
+ "method": "delete",
15176
+ "summary": "Remove relations",
15177
+ "description": "Remove relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15178
+ "http": "DELETE",
15179
+ "path": "/ticket/v1/tickets/{number}/relations/{n}",
15180
+ "streaming": "no",
15181
+ "pagination": false,
15182
+ "pathParams": [
15183
+ {
15184
+ "name": "number",
15185
+ "sdkName": "number"
15186
+ },
15187
+ {
15188
+ "name": "n",
15189
+ "sdkName": "n"
15190
+ }
15191
+ ],
15192
+ "query": [
15193
+ {
15194
+ "name": "repository",
15195
+ "type": "string",
15196
+ "required": false,
15197
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15198
+ }
15199
+ ]
15200
+ },
15201
+ {
15202
+ "resource": "ticket.tickets.subTickets",
15203
+ "method": "list",
15204
+ "summary": "List sub tickets",
15205
+ "description": "List sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15206
+ "http": "GET",
15207
+ "path": "/ticket/v1/tickets/{number}/sub_tickets",
15208
+ "streaming": "no",
15209
+ "pagination": false,
15210
+ "pathParams": [
15211
+ {
15212
+ "name": "number",
15213
+ "sdkName": "number"
15214
+ }
15215
+ ],
15216
+ "query": [
15217
+ {
15218
+ "name": "repository",
15219
+ "type": "string",
15220
+ "required": false,
15221
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15222
+ },
15223
+ {
15224
+ "name": "page_size",
15225
+ "type": "integer",
15226
+ "required": false,
15227
+ "description": "Records per page; defaults to 30, maximum 100."
15228
+ },
15229
+ {
15230
+ "name": "page_token",
15231
+ "type": "string",
15232
+ "required": false,
15233
+ "description": "Cursor returned as next_page_token; omit for the first page."
15234
+ }
15235
+ ]
15236
+ },
15237
+ {
15238
+ "resource": "ticket.tickets.subTickets",
15239
+ "method": "create",
15240
+ "summary": "Create or add sub tickets",
15241
+ "description": "Create or add sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15242
+ "http": "POST",
15243
+ "path": "/ticket/v1/tickets/{number}/sub_tickets",
15244
+ "streaming": "no",
15245
+ "pagination": false,
15246
+ "pathParams": [
15247
+ {
15248
+ "name": "number",
15249
+ "sdkName": "number"
15250
+ }
15251
+ ],
15252
+ "query": [
15253
+ {
15254
+ "name": "repository",
15255
+ "type": "string",
15256
+ "required": false,
15257
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15258
+ }
15259
+ ],
15260
+ "body": {
15261
+ "required": true,
15262
+ "fields": [
15263
+ {
15264
+ "name": "child",
15265
+ "type": "integer",
15266
+ "required": true,
15267
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
15268
+ },
15269
+ {
15270
+ "name": "replace_parent",
15271
+ "type": "boolean",
15272
+ "required": false,
15273
+ "description": "Allow replacing an existing parent."
15274
+ }
15275
+ ]
15276
+ }
15277
+ },
15278
+ {
15279
+ "resource": "ticket.tickets.subTickets",
15280
+ "method": "delete",
15281
+ "summary": "Remove sub tickets",
15282
+ "description": "Remove sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15283
+ "http": "DELETE",
15284
+ "path": "/ticket/v1/tickets/{number}/sub_tickets/{child}",
15285
+ "streaming": "no",
15286
+ "pagination": false,
15287
+ "pathParams": [
15288
+ {
15289
+ "name": "number",
15290
+ "sdkName": "number"
15291
+ },
15292
+ {
15293
+ "name": "child",
15294
+ "sdkName": "child"
15295
+ }
15296
+ ],
15297
+ "query": [
15298
+ {
15299
+ "name": "repository",
15300
+ "type": "string",
15301
+ "required": false,
15302
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15303
+ }
15304
+ ]
15305
+ },
15306
+ {
15307
+ "resource": "ticket.types",
15308
+ "method": "list",
15309
+ "summary": "Read types",
15310
+ "description": "Read types within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15311
+ "http": "GET",
15312
+ "path": "/ticket/v1/types",
15313
+ "streaming": "no",
15314
+ "pagination": false,
15315
+ "pathParams": [],
15316
+ "query": [
15317
+ {
15318
+ "name": "repository",
15319
+ "type": "string",
15320
+ "required": false,
15321
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15322
+ }
15323
+ ]
15324
+ },
13848
15325
  {
13849
15326
  "resource": "vault.authorizations",
13850
15327
  "method": "create",