@deepraxis/sdk 0.1.1-dev.877a000 → 0.1.1-dev.8b570e7
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.
- package/METHODS.md +31 -10
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +71 -35
- package/dist/generated/sdk.gen.js +163 -63
- package/dist/generated/types.gen.d.ts +1105 -508
- package/dist/operations.generated.js +577 -218
- package/dist/resources.generated.d.ts +19 -6
- package/dist/resources.generated.js +18 -6
- package/package.json +1 -1
|
@@ -11892,6 +11892,260 @@ export const operations = [
|
|
|
11892
11892
|
],
|
|
11893
11893
|
"query": []
|
|
11894
11894
|
},
|
|
11895
|
+
{
|
|
11896
|
+
"resource": "devops.projects.environments.targets",
|
|
11897
|
+
"method": "deleteState",
|
|
11898
|
+
"summary": "Delete a target's OpenTofu state",
|
|
11899
|
+
"description": "Delete the current OpenTofu state of one deploy target, as OpenTofu does when a workspace is deleted. The kept versions of earlier writes stay. While a lock is held the call must carry its ID, otherwise it answers 409 LOCK_CONFLICT. Deleting a state that does not exist succeeds.",
|
|
11900
|
+
"http": "DELETE",
|
|
11901
|
+
"path": "/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state",
|
|
11902
|
+
"streaming": "no",
|
|
11903
|
+
"pagination": false,
|
|
11904
|
+
"pathParams": [
|
|
11905
|
+
{
|
|
11906
|
+
"name": "project",
|
|
11907
|
+
"sdkName": "project",
|
|
11908
|
+
"description": "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11909
|
+
},
|
|
11910
|
+
{
|
|
11911
|
+
"name": "environment",
|
|
11912
|
+
"sdkName": "environment",
|
|
11913
|
+
"description": "Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list."
|
|
11914
|
+
},
|
|
11915
|
+
{
|
|
11916
|
+
"name": "target",
|
|
11917
|
+
"sdkName": "target",
|
|
11918
|
+
"description": "The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology."
|
|
11919
|
+
}
|
|
11920
|
+
],
|
|
11921
|
+
"query": [
|
|
11922
|
+
{
|
|
11923
|
+
"name": "ID",
|
|
11924
|
+
"type": "string",
|
|
11925
|
+
"required": false,
|
|
11926
|
+
"description": "The ID of the lock this call holds, exactly as OpenTofu received it from the lock call. Required while a lock is held; a missing or different ID answers 409 LOCK_CONFLICT."
|
|
11927
|
+
}
|
|
11928
|
+
]
|
|
11929
|
+
},
|
|
11930
|
+
{
|
|
11931
|
+
"resource": "devops.projects.environments.targets",
|
|
11932
|
+
"method": "retrieveState",
|
|
11933
|
+
"summary": "Read a target's OpenTofu state",
|
|
11934
|
+
"description": "Read the current OpenTofu state of one deploy target in one DevOps environment. This is the read half of the OpenTofu HTTP backend that `praxis devops deploy --engine tofu` configures: OpenTofu sends HTTP Basic with any username and a Praxis API key as the password, and the route accepts the ordinary Bearer key too. The answer is the state document exactly as the last write stored it. A target never deployed in this environment answers 404, which OpenTofu reads as an empty state.",
|
|
11935
|
+
"http": "GET",
|
|
11936
|
+
"path": "/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state",
|
|
11937
|
+
"streaming": "no",
|
|
11938
|
+
"pagination": false,
|
|
11939
|
+
"pathParams": [
|
|
11940
|
+
{
|
|
11941
|
+
"name": "project",
|
|
11942
|
+
"sdkName": "project",
|
|
11943
|
+
"description": "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11944
|
+
},
|
|
11945
|
+
{
|
|
11946
|
+
"name": "environment",
|
|
11947
|
+
"sdkName": "environment",
|
|
11948
|
+
"description": "Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list."
|
|
11949
|
+
},
|
|
11950
|
+
{
|
|
11951
|
+
"name": "target",
|
|
11952
|
+
"sdkName": "target",
|
|
11953
|
+
"description": "The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology."
|
|
11954
|
+
}
|
|
11955
|
+
],
|
|
11956
|
+
"query": []
|
|
11957
|
+
},
|
|
11958
|
+
{
|
|
11959
|
+
"resource": "devops.projects.environments.targets.state",
|
|
11960
|
+
"method": "create",
|
|
11961
|
+
"summary": "Write a target's OpenTofu state",
|
|
11962
|
+
"description": "Store a new OpenTofu state for one deploy target. OpenTofu calls this after every apply, passing the lock ID it holds as ID. Each accepted write also keeps an immutable version of that state (the latest 50 per target are kept), so a rollout's state change can be audited. A state document is at most 1 MiB. A write whose serial is lower than the stored serial of the same lineage is a stale write and answers 409 STALE_SERIAL; re-run so OpenTofu reads the newer state first.",
|
|
11963
|
+
"http": "POST",
|
|
11964
|
+
"path": "/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state",
|
|
11965
|
+
"streaming": "no",
|
|
11966
|
+
"pagination": false,
|
|
11967
|
+
"pathParams": [
|
|
11968
|
+
{
|
|
11969
|
+
"name": "project",
|
|
11970
|
+
"sdkName": "project",
|
|
11971
|
+
"description": "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11972
|
+
},
|
|
11973
|
+
{
|
|
11974
|
+
"name": "environment",
|
|
11975
|
+
"sdkName": "environment",
|
|
11976
|
+
"description": "Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list."
|
|
11977
|
+
},
|
|
11978
|
+
{
|
|
11979
|
+
"name": "target",
|
|
11980
|
+
"sdkName": "target",
|
|
11981
|
+
"description": "The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology."
|
|
11982
|
+
}
|
|
11983
|
+
],
|
|
11984
|
+
"query": [
|
|
11985
|
+
{
|
|
11986
|
+
"name": "ID",
|
|
11987
|
+
"type": "string",
|
|
11988
|
+
"required": false,
|
|
11989
|
+
"description": "The ID of the lock this call holds, exactly as OpenTofu received it from the lock call. Required while a lock is held; a missing or different ID answers 409 LOCK_CONFLICT."
|
|
11990
|
+
}
|
|
11991
|
+
],
|
|
11992
|
+
"body": {
|
|
11993
|
+
"required": true,
|
|
11994
|
+
"fields": [
|
|
11995
|
+
{
|
|
11996
|
+
"name": "version",
|
|
11997
|
+
"type": "integer",
|
|
11998
|
+
"required": false,
|
|
11999
|
+
"description": "The state format version OpenTofu wrote."
|
|
12000
|
+
},
|
|
12001
|
+
{
|
|
12002
|
+
"name": "serial",
|
|
12003
|
+
"type": "integer",
|
|
12004
|
+
"required": true,
|
|
12005
|
+
"description": "Increases with every state change; a write lower than the stored serial of the same lineage is refused as stale."
|
|
12006
|
+
},
|
|
12007
|
+
{
|
|
12008
|
+
"name": "lineage",
|
|
12009
|
+
"type": "string",
|
|
12010
|
+
"required": true,
|
|
12011
|
+
"description": "Identifies one state history; it does not change across writes."
|
|
12012
|
+
}
|
|
12013
|
+
]
|
|
12014
|
+
}
|
|
12015
|
+
},
|
|
12016
|
+
{
|
|
12017
|
+
"resource": "devops.projects.environments.targets.state",
|
|
12018
|
+
"method": "deleteLock",
|
|
12019
|
+
"summary": "Unlock a target's OpenTofu state",
|
|
12020
|
+
"description": "Release the lock on one target's state; this is the DELETE that `praxis devops deploy` configures as OpenTofu's unlock_method (the default UNLOCK verb on the state path works too). The lock ID is read from the lock info body, or from the ID query value. Releasing a lock that is not held succeeds; releasing it under a different ID answers 409 LOCK_CONFLICT.",
|
|
12021
|
+
"http": "DELETE",
|
|
12022
|
+
"path": "/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state/lock",
|
|
12023
|
+
"streaming": "no",
|
|
12024
|
+
"pagination": false,
|
|
12025
|
+
"pathParams": [
|
|
12026
|
+
{
|
|
12027
|
+
"name": "project",
|
|
12028
|
+
"sdkName": "project",
|
|
12029
|
+
"description": "Identifies the project whose data you are reading, from the project list or create answer."
|
|
12030
|
+
},
|
|
12031
|
+
{
|
|
12032
|
+
"name": "environment",
|
|
12033
|
+
"sdkName": "environment",
|
|
12034
|
+
"description": "Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list."
|
|
12035
|
+
},
|
|
12036
|
+
{
|
|
12037
|
+
"name": "target",
|
|
12038
|
+
"sdkName": "target",
|
|
12039
|
+
"description": "The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology."
|
|
12040
|
+
}
|
|
12041
|
+
],
|
|
12042
|
+
"query": [
|
|
12043
|
+
{
|
|
12044
|
+
"name": "ID",
|
|
12045
|
+
"type": "string",
|
|
12046
|
+
"required": false,
|
|
12047
|
+
"description": "The ID of the lock this call holds, exactly as OpenTofu received it from the lock call. Required while a lock is held; a missing or different ID answers 409 LOCK_CONFLICT."
|
|
12048
|
+
}
|
|
12049
|
+
],
|
|
12050
|
+
"body": {
|
|
12051
|
+
"required": false,
|
|
12052
|
+
"fields": [
|
|
12053
|
+
{
|
|
12054
|
+
"name": "ID",
|
|
12055
|
+
"type": "string",
|
|
12056
|
+
"required": true,
|
|
12057
|
+
"description": "Identifies the lock; every write and the unlock must carry it."
|
|
12058
|
+
},
|
|
12059
|
+
{
|
|
12060
|
+
"name": "Operation",
|
|
12061
|
+
"type": "string",
|
|
12062
|
+
"required": false,
|
|
12063
|
+
"description": "What the holder is doing, such as OperationTypeApply."
|
|
12064
|
+
},
|
|
12065
|
+
{
|
|
12066
|
+
"name": "Who",
|
|
12067
|
+
"type": "string",
|
|
12068
|
+
"required": false,
|
|
12069
|
+
"description": "The holder, user@host, shown to the caller that finds the lock held."
|
|
12070
|
+
},
|
|
12071
|
+
{
|
|
12072
|
+
"name": "Created",
|
|
12073
|
+
"type": "string",
|
|
12074
|
+
"required": false,
|
|
12075
|
+
"description": "When the holder took the lock, RFC 3339."
|
|
12076
|
+
},
|
|
12077
|
+
{
|
|
12078
|
+
"name": "Path",
|
|
12079
|
+
"type": "string",
|
|
12080
|
+
"required": false,
|
|
12081
|
+
"description": "Where the holder keeps its working state, informational."
|
|
12082
|
+
}
|
|
12083
|
+
]
|
|
12084
|
+
}
|
|
12085
|
+
},
|
|
12086
|
+
{
|
|
12087
|
+
"resource": "devops.projects.environments.targets.state.lock",
|
|
12088
|
+
"method": "create",
|
|
12089
|
+
"summary": "Lock a target's OpenTofu state",
|
|
12090
|
+
"description": "Take the lock on one target's state before OpenTofu plans or applies; this is the POST that `praxis devops deploy` configures as OpenTofu's lock_method (the default LOCK verb on the state path works too). Exactly one holder can hold the lock. A held lock answers 423 with the holder's lock info, which names who is deploying; wait for them or, if they are gone, release it with a force-unlock using the ID in that answer.",
|
|
12091
|
+
"http": "POST",
|
|
12092
|
+
"path": "/devops/v1/projects/{project}/environments/{environment}/targets/{target}/state/lock",
|
|
12093
|
+
"streaming": "no",
|
|
12094
|
+
"pagination": false,
|
|
12095
|
+
"pathParams": [
|
|
12096
|
+
{
|
|
12097
|
+
"name": "project",
|
|
12098
|
+
"sdkName": "project",
|
|
12099
|
+
"description": "Identifies the project whose data you are reading, from the project list or create answer."
|
|
12100
|
+
},
|
|
12101
|
+
{
|
|
12102
|
+
"name": "environment",
|
|
12103
|
+
"sdkName": "environment",
|
|
12104
|
+
"description": "Identifies the DevOps environment (dve_…) whose deploy state you address, from the project's environment list."
|
|
12105
|
+
},
|
|
12106
|
+
{
|
|
12107
|
+
"name": "target",
|
|
12108
|
+
"sdkName": "target",
|
|
12109
|
+
"description": "The deploy target's repository path, URL-encoded as one segment: services/ontology is written services%2Fontology."
|
|
12110
|
+
}
|
|
12111
|
+
],
|
|
12112
|
+
"query": [],
|
|
12113
|
+
"body": {
|
|
12114
|
+
"required": true,
|
|
12115
|
+
"fields": [
|
|
12116
|
+
{
|
|
12117
|
+
"name": "ID",
|
|
12118
|
+
"type": "string",
|
|
12119
|
+
"required": true,
|
|
12120
|
+
"description": "Identifies the lock; every write and the unlock must carry it."
|
|
12121
|
+
},
|
|
12122
|
+
{
|
|
12123
|
+
"name": "Operation",
|
|
12124
|
+
"type": "string",
|
|
12125
|
+
"required": false,
|
|
12126
|
+
"description": "What the holder is doing, such as OperationTypeApply."
|
|
12127
|
+
},
|
|
12128
|
+
{
|
|
12129
|
+
"name": "Who",
|
|
12130
|
+
"type": "string",
|
|
12131
|
+
"required": false,
|
|
12132
|
+
"description": "The holder, user@host, shown to the caller that finds the lock held."
|
|
12133
|
+
},
|
|
12134
|
+
{
|
|
12135
|
+
"name": "Created",
|
|
12136
|
+
"type": "string",
|
|
12137
|
+
"required": false,
|
|
12138
|
+
"description": "When the holder took the lock, RFC 3339."
|
|
12139
|
+
},
|
|
12140
|
+
{
|
|
12141
|
+
"name": "Path",
|
|
12142
|
+
"type": "string",
|
|
12143
|
+
"required": false,
|
|
12144
|
+
"description": "Where the holder keeps its working state, informational."
|
|
12145
|
+
}
|
|
12146
|
+
]
|
|
12147
|
+
}
|
|
12148
|
+
},
|
|
11895
12149
|
{
|
|
11896
12150
|
"resource": "devops.projects.flags",
|
|
11897
12151
|
"method": "list",
|
|
@@ -14430,7 +14684,7 @@ export const operations = [
|
|
|
14430
14684
|
"resource": "media.generation.capabilities",
|
|
14431
14685
|
"method": "list",
|
|
14432
14686
|
"summary": "Get generation capabilities",
|
|
14433
|
-
"description": "Read what Praxis offers for each kind of generation — image, video and speech — before asking for one. Every type answers the models available for it, the model it uses when a request names none, and what each model costs per unit; the video fields beside
|
|
14687
|
+
"description": "Read what Praxis offers for each kind of generation — image, video and speech — before asking for one, and read a speech model’s voices here before naming one. Every type answers the models available for it, the model it uses when a request names none, and what each model costs per unit; a speech model the platform publishes voices for also carries default_voice and voices there, each voice with an id, a name, a gender, a language and a style — so a request for \"a gentle female voice\" is answered by matching the style and gender rather than by guessing an identifier. Pass a voice id back verbatim as voice, or omit voice to take default_voice; a voice that is neither one of those nor a voice material of the library is refused with INVALID_PARAMS before any job is created. OpenAI voice names such as alloy and aura are not valid here. The video fields beside the types keep their original meaning (intents, default model, duration and aspect-ratio limits, per-library concurrency). The models come from the platform model catalogue, and an id listed here is accepted verbatim as the model field of that type’s generation request. A video model additionally carries the modes it can be driven in and the durations, aspect ratios and resolutions the catalogue has registered for it — modes, duration_seconds, aspect_ratios and resolutions — so read them before requesting video and choose a mode and a value this model lists; an empty list means the platform has not registered that option yet, and then omit the field rather than assume a value. price.amount is a decimal string with its currency; video models that charge by resolution also carry price.by_resolution, whose amount is then the cheapest tier. A model the catalogue cannot route right now is still listed, with available false, so a caller can show it as temporarily unavailable instead of hiding it. When the catalogue cannot be read the endpoint still answers: every type comes back with an empty models list and its real default_model, and the voices a speech model carries are absent rather than empty, because the voices come from the platform and not from the catalogue. Generation is charged per unit and every output is stored in the library.",
|
|
14434
14688
|
"http": "GET",
|
|
14435
14689
|
"path": "/media/v1/generation/capabilities",
|
|
14436
14690
|
"streaming": "no",
|
|
@@ -15296,7 +15550,7 @@ export const operations = [
|
|
|
15296
15550
|
"resource": "media.speech",
|
|
15297
15551
|
"method": "create",
|
|
15298
15552
|
"summary": "Create speech",
|
|
15299
|
-
"description": "Synthesise speech from text and store the recording straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still synthesise. input is the text to speak and voice is
|
|
15553
|
+
"description": "Synthesise speech from text and store the recording straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still synthesise. input is the text to speak. voice is optional and may be omitted, in which case the model’s default voice is used; when it is given it must be one of the voices of the model being used — read them from the types.speech list of GET /media/v1/generation/capabilities, which gives each voice an id, a name, a gender, a language and a style, or pass a voice material id of this same library — and a voice that is neither is refused with INVALID_PARAMS in the voice field before any job exists, so a wrong name is free to try but reading the capabilities first is free without trying. Do not use OpenAI voice names such as alloy or aura: they are not valid here. speed is passed to the provider unchanged, and instructions and language are refused with OPERATION_NOT_SUPPORTED in this release. Cloning a voice from recordings is not available yet. The provider caps one request at a short stretch of text, so a long input is cut into segments at paragraph and sentence boundaries and synthesised in order, then joined into the single recording the library receives: nothing is spoken twice and nothing is dropped. Because the segments are joined byte for byte, a multi-segment input accepts only response_format mp3 (the default) or pcm; opus is available for a single-segment input. A speech job has one result however many segments it took. Synthesis is billed by the model usage it consumes, at the same prices as the model API, and the job records the charge in usage; a request refused before it starts costs nothing. The response is 202 with a queued Job whose type is speech and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced asset from the library — the recording carries material_type audio, audio_role voice, ai_generated true, and provenance naming this job, the text spoken and the model. Send Idempotency-Key, or idempotency_key in the body, to retry without synthesising and charging twice. Example: POST /media/v1/libraries/default/audio/speech with {\"input\":\"A red kite above a calm sea at sunrise.\"}, or with {\"input\":\"A red kite above a calm sea at sunrise.\",\"voice\":\"zh_female_wenroumama_uranus_bigtts\"} for a gentle female voice.",
|
|
15300
15554
|
"http": "POST",
|
|
15301
15555
|
"path": "/media/v1/libraries/{library_id}/audio/speech",
|
|
15302
15556
|
"streaming": "no",
|
|
@@ -15321,8 +15575,8 @@ export const operations = [
|
|
|
15321
15575
|
{
|
|
15322
15576
|
"name": "voice",
|
|
15323
15577
|
"type": "string",
|
|
15324
|
-
"required":
|
|
15325
|
-
"description": "Voice
|
|
15578
|
+
"required": false,
|
|
15579
|
+
"description": "Voice to synthesize with. Omit it to use the model’s default voice. The available values are the ids in the types.speech list of GET /media/v1/generation/capabilities, beside the voices of the model you are using, plus a voice material id of this same library. A voice that is neither is refused with INVALID_PARAMS before any job is created, so a wrong name costs nothing — read the capabilities first instead of guessing. Example ids for the platform speech model: zh_female_vv_uranus_bigtts (the default), zh_female_wenroumama_uranus_bigtts (a gentle female voice), zh_male_m191_uranus_bigtts. OpenAI voice names such as alloy are not valid here."
|
|
15326
15580
|
},
|
|
15327
15581
|
{
|
|
15328
15582
|
"name": "instructions",
|
|
@@ -21596,7 +21850,7 @@ export const operations = [
|
|
|
21596
21850
|
"resource": "studio.codexes",
|
|
21597
21851
|
"method": "list",
|
|
21598
21852
|
"summary": "List the reference libraries of this organization",
|
|
21599
|
-
"description": "List the reference libraries this API key organization owns, each with how many entries it holds, so you can choose the one a work draws on. Continue with next_page_token until the answer stops carrying one.
|
|
21853
|
+
"description": "List the reference libraries this API key organization owns, each with how many entries it holds, so you can choose the one a work draws on. Continue with next_page_token until the answer stops carrying one. Pass work to read one work's own library alone; leave it out for every library the organization owns.",
|
|
21600
21854
|
"http": "GET",
|
|
21601
21855
|
"path": "/studio/v1/codexes",
|
|
21602
21856
|
"streaming": "no",
|
|
@@ -21614,6 +21868,12 @@ export const operations = [
|
|
|
21614
21868
|
"type": "string",
|
|
21615
21869
|
"required": false,
|
|
21616
21870
|
"description": "Cursor from the previous answer's next_page_token; it is opaque, so pass it back unchanged and never build one from an id or an offset."
|
|
21871
|
+
},
|
|
21872
|
+
{
|
|
21873
|
+
"name": "work",
|
|
21874
|
+
"type": "string",
|
|
21875
|
+
"required": false,
|
|
21876
|
+
"description": "Narrow the list to what belongs to one work, by its wk_ identifier, which is how one work's own setting is told apart from the organization's shared material; omit it to list everything this organization owns."
|
|
21617
21877
|
}
|
|
21618
21878
|
]
|
|
21619
21879
|
},
|
|
@@ -21621,7 +21881,7 @@ export const operations = [
|
|
|
21621
21881
|
"resource": "studio.codexes",
|
|
21622
21882
|
"method": "create",
|
|
21623
21883
|
"summary": "Create a reference library",
|
|
21624
|
-
"description": "Create a reference library: a
|
|
21884
|
+
"description": "Create a reference library: a store of the people, places, products and facts a piece draws on. Attach it to a work with the work update call, and the entries it holds then reach the context packs of that work's units. A library made this way is shared across works, which suits brand facts several pieces mention; the library a work needs for its own setting is created with the work itself, and the work list call finds it by filtering on work.",
|
|
21625
21885
|
"http": "POST",
|
|
21626
21886
|
"path": "/studio/v1/codexes",
|
|
21627
21887
|
"streaming": "no",
|
|
@@ -21771,7 +22031,7 @@ export const operations = [
|
|
|
21771
22031
|
"resource": "studio.codexes.entries",
|
|
21772
22032
|
"method": "create",
|
|
21773
22033
|
"summary": "Add an entry to a reference library",
|
|
21774
|
-
"description": "Add one entry: a character, a place, a product, a source of facts. Give it the type the genre uses, the name the text will mention, and the description
|
|
22034
|
+
"description": "Add one entry: a character, a place, a product, a source of facts. Give it the type the genre uses, the name the text will mention, and the description, notes, facts and story time that should reach a writer when it is mentioned. Attach a picture gallery when the entry should be looked at as well as read. Aliases and excluded phrases keep detection honest, so a common word inside an idiom is not mistaken for the entry. A name already used in the library is refused.",
|
|
21775
22035
|
"http": "POST",
|
|
21776
22036
|
"path": "/studio/v1/codexes/{codex}/entries",
|
|
21777
22037
|
"streaming": "no",
|
|
@@ -21856,7 +22116,13 @@ export const operations = [
|
|
|
21856
22116
|
"name": "notes",
|
|
21857
22117
|
"type": "string",
|
|
21858
22118
|
"required": false,
|
|
21859
|
-
"description": "Notes
|
|
22119
|
+
"description": "Notes on this entry, which reach the writer's context pack on the line after the description and the facts; an empty string adds no line. Write here what the text must respect, not a private remark."
|
|
22120
|
+
},
|
|
22121
|
+
{
|
|
22122
|
+
"name": "time",
|
|
22123
|
+
"type": "string",
|
|
22124
|
+
"required": false,
|
|
22125
|
+
"description": "When this entry happens in the story, such as 2037 or 民国二十四年冬; at most 40 characters, and an empty string records no time. It is shown beside the entry and reaches the writer with it."
|
|
21860
22126
|
},
|
|
21861
22127
|
{
|
|
21862
22128
|
"name": "tracking",
|
|
@@ -21879,9 +22145,9 @@ export const operations = [
|
|
|
21879
22145
|
{
|
|
21880
22146
|
"name": "images",
|
|
21881
22147
|
"type": "array",
|
|
21882
|
-
"itemType": "
|
|
22148
|
+
"itemType": "object",
|
|
21883
22149
|
"required": false,
|
|
21884
|
-
"description": "
|
|
22150
|
+
"description": "Picture gallery of this entry, in write order: send pictures with a name and a description, or send a bare file identifier when the picture has no name yet and it is stored with both empty."
|
|
21885
22151
|
}
|
|
21886
22152
|
]
|
|
21887
22153
|
}
|
|
@@ -21913,7 +22179,7 @@ export const operations = [
|
|
|
21913
22179
|
"resource": "studio.codexes.entries",
|
|
21914
22180
|
"method": "retrieve",
|
|
21915
22181
|
"summary": "Read one reference entry",
|
|
21916
|
-
"description": "Read one entry in full: its description, its fact ledger, its relations to other entries, its detection settings and its
|
|
22182
|
+
"description": "Read one entry in full: its description, its notes, its fact ledger, its relations to other entries, its story time, its detection settings and its picture gallery. Read it before changing it, because an update replaces the fields it names rather than merging them. The entry is addressed by its name in this library, or by its ent_ identifier.",
|
|
21917
22183
|
"http": "GET",
|
|
21918
22184
|
"path": "/studio/v1/codexes/{codex}/entries/{entry}",
|
|
21919
22185
|
"streaming": "no",
|
|
@@ -21936,7 +22202,7 @@ export const operations = [
|
|
|
21936
22202
|
"resource": "studio.codexes.entries",
|
|
21937
22203
|
"method": "update",
|
|
21938
22204
|
"summary": "Change what a reference entry says",
|
|
21939
|
-
"description": "Change one entry: its type, its name, its aliases, its description, its facts, its notes, its tracking setting, its
|
|
22205
|
+
"description": "Change one entry: its type, its name, its aliases, its description, its facts, its notes, its story time, its tracking setting, its picture gallery or its relations. Send update_mask naming exactly the fields you change, because a field the mask leaves out keeps its value while a list field the mask names is replaced whole. Renaming an entry changes what the text has to mention for detection to find it.",
|
|
21940
22206
|
"http": "PATCH",
|
|
21941
22207
|
"path": "/studio/v1/codexes/{codex}/entries/{entry}",
|
|
21942
22208
|
"streaming": "no",
|
|
@@ -22033,7 +22299,13 @@ export const operations = [
|
|
|
22033
22299
|
"name": "notes",
|
|
22034
22300
|
"type": "string",
|
|
22035
22301
|
"required": false,
|
|
22036
|
-
"description": "New notes
|
|
22302
|
+
"description": "New notes on this entry, replacing the previous ones; they reach the writer's context pack on the line after the description and the facts, and an empty string removes that line."
|
|
22303
|
+
},
|
|
22304
|
+
{
|
|
22305
|
+
"name": "time",
|
|
22306
|
+
"type": "string",
|
|
22307
|
+
"required": false,
|
|
22308
|
+
"description": "New story time for this entry, replacing the previous one; at most 40 characters, and an empty string removes the time."
|
|
22037
22309
|
},
|
|
22038
22310
|
{
|
|
22039
22311
|
"name": "tracking",
|
|
@@ -22056,9 +22328,9 @@ export const operations = [
|
|
|
22056
22328
|
{
|
|
22057
22329
|
"name": "images",
|
|
22058
22330
|
"type": "array",
|
|
22059
|
-
"itemType": "
|
|
22331
|
+
"itemType": "object",
|
|
22060
22332
|
"required": false,
|
|
22061
|
-
"description": "Complete
|
|
22333
|
+
"description": "Complete picture gallery for this entry, replacing the previous one and keeping the order you send; a picture left out stops being shown beside the entry."
|
|
22062
22334
|
}
|
|
22063
22335
|
]
|
|
22064
22336
|
}
|
|
@@ -22138,26 +22410,16 @@ export const operations = [
|
|
|
22138
22410
|
"query": []
|
|
22139
22411
|
},
|
|
22140
22412
|
{
|
|
22141
|
-
"resource": "studio.
|
|
22413
|
+
"resource": "studio.styles",
|
|
22142
22414
|
"method": "list",
|
|
22143
|
-
"summary": "List the
|
|
22144
|
-
"description": "List the
|
|
22415
|
+
"summary": "List the writing styles of this organization",
|
|
22416
|
+
"description": "List the styles this API key organization owns, each with its name and description, so you can choose the voice a work should be written in. Continue with next_page_token until the answer stops carrying one. Read one style in full before attaching it, because its samples are what actually shape the writing.",
|
|
22145
22417
|
"http": "GET",
|
|
22146
|
-
"path": "/studio/v1/
|
|
22418
|
+
"path": "/studio/v1/styles",
|
|
22147
22419
|
"streaming": "no",
|
|
22148
22420
|
"pagination": false,
|
|
22149
22421
|
"pathParams": [],
|
|
22150
22422
|
"query": [
|
|
22151
|
-
{
|
|
22152
|
-
"name": "kind",
|
|
22153
|
-
"type": "string",
|
|
22154
|
-
"enum": [
|
|
22155
|
-
"expert",
|
|
22156
|
-
"audience"
|
|
22157
|
-
],
|
|
22158
|
-
"required": false,
|
|
22159
|
-
"description": "Reviewer kind to filter by: expert draws reviewers that write a scored report, audience draws reviewers that fill a screening card. Omit it to list both kinds together."
|
|
22160
|
-
},
|
|
22161
22423
|
{
|
|
22162
22424
|
"name": "page_size",
|
|
22163
22425
|
"type": "integer",
|
|
@@ -22169,80 +22431,32 @@ export const operations = [
|
|
|
22169
22431
|
"type": "string",
|
|
22170
22432
|
"required": false,
|
|
22171
22433
|
"description": "Cursor from the previous answer's next_page_token; it is opaque, so pass it back unchanged and never build one from an id or an offset."
|
|
22434
|
+
},
|
|
22435
|
+
{
|
|
22436
|
+
"name": "work",
|
|
22437
|
+
"type": "string",
|
|
22438
|
+
"required": false,
|
|
22439
|
+
"description": "Narrow the list to what belongs to one work, by its wk_ identifier, which is how one work's own setting is told apart from the organization's shared material; omit it to list everything this organization owns."
|
|
22172
22440
|
}
|
|
22173
22441
|
]
|
|
22174
22442
|
},
|
|
22175
22443
|
{
|
|
22176
|
-
"resource": "studio.
|
|
22177
|
-
"method": "
|
|
22178
|
-
"summary": "
|
|
22179
|
-
"description": "
|
|
22180
|
-
"http": "
|
|
22181
|
-
"path": "/studio/v1/
|
|
22444
|
+
"resource": "studio.styles",
|
|
22445
|
+
"method": "create",
|
|
22446
|
+
"summary": "Create a writing style",
|
|
22447
|
+
"description": "Create a style: the voice a piece is written in, held as samples rather than as adjectives. Samples matter more than a description, so paste one to five paragraphs of writing the piece should sound like, and put the words to avoid into avoid so the banned-word check uses them. A style belongs to the work you name in work, and a work may only attach its own styles, so create the style with the work it will be used in. Attach a style to a work, or to one draft of it, and its samples then reach every context pack.",
|
|
22448
|
+
"http": "POST",
|
|
22449
|
+
"path": "/studio/v1/styles",
|
|
22182
22450
|
"streaming": "no",
|
|
22183
22451
|
"pagination": false,
|
|
22184
|
-
"pathParams": [
|
|
22185
|
-
{
|
|
22186
|
-
"name": "agent",
|
|
22187
|
-
"sdkName": "agent",
|
|
22188
|
-
"description": "Reviewer being addressed, by the agent value the reviewer list returns for it; a reviewer is an agent of this organization's reviewer library, so it has no other address."
|
|
22189
|
-
}
|
|
22190
|
-
],
|
|
22452
|
+
"pathParams": [],
|
|
22191
22453
|
"query": [],
|
|
22192
22454
|
"body": {
|
|
22193
22455
|
"required": true,
|
|
22194
22456
|
"fields": [
|
|
22195
22457
|
{
|
|
22196
|
-
"name": "
|
|
22197
|
-
"type": "
|
|
22198
|
-
"required": true,
|
|
22199
|
-
"description": "Set false to take this reviewer out of the draw for rounds sent from now on, true to put it back; rounds already sent keep the reviewers they drew."
|
|
22200
|
-
}
|
|
22201
|
-
]
|
|
22202
|
-
}
|
|
22203
|
-
},
|
|
22204
|
-
{
|
|
22205
|
-
"resource": "studio.styles",
|
|
22206
|
-
"method": "list",
|
|
22207
|
-
"summary": "List the writing styles of this organization",
|
|
22208
|
-
"description": "List the styles this API key organization owns, each with its name and description, so you can choose the voice a work should be written in. Continue with next_page_token until the answer stops carrying one. Read one style in full before attaching it, because its samples are what actually shape the writing.",
|
|
22209
|
-
"http": "GET",
|
|
22210
|
-
"path": "/studio/v1/styles",
|
|
22211
|
-
"streaming": "no",
|
|
22212
|
-
"pagination": false,
|
|
22213
|
-
"pathParams": [],
|
|
22214
|
-
"query": [
|
|
22215
|
-
{
|
|
22216
|
-
"name": "page_size",
|
|
22217
|
-
"type": "integer",
|
|
22218
|
-
"required": false,
|
|
22219
|
-
"description": "How many items this page returns, 1 to 100; omitted uses the service default. Treat the answer as one page, not the whole set, and keep following next_page_token while it is present."
|
|
22220
|
-
},
|
|
22221
|
-
{
|
|
22222
|
-
"name": "page_token",
|
|
22223
|
-
"type": "string",
|
|
22224
|
-
"required": false,
|
|
22225
|
-
"description": "Cursor from the previous answer's next_page_token; it is opaque, so pass it back unchanged and never build one from an id or an offset."
|
|
22226
|
-
}
|
|
22227
|
-
]
|
|
22228
|
-
},
|
|
22229
|
-
{
|
|
22230
|
-
"resource": "studio.styles",
|
|
22231
|
-
"method": "create",
|
|
22232
|
-
"summary": "Create a writing style",
|
|
22233
|
-
"description": "Create a style: the voice a piece is written in, held as samples rather than as adjectives. Samples matter more than a description, so paste one to five paragraphs of writing the piece should sound like, and put the words to avoid into avoid so the banned-word check uses them. Attach a style to a work, or to one draft of it, and its samples then reach every context pack.",
|
|
22234
|
-
"http": "POST",
|
|
22235
|
-
"path": "/studio/v1/styles",
|
|
22236
|
-
"streaming": "no",
|
|
22237
|
-
"pagination": false,
|
|
22238
|
-
"pathParams": [],
|
|
22239
|
-
"query": [],
|
|
22240
|
-
"body": {
|
|
22241
|
-
"required": true,
|
|
22242
|
-
"fields": [
|
|
22243
|
-
{
|
|
22244
|
-
"name": "name",
|
|
22245
|
-
"type": "string",
|
|
22458
|
+
"name": "name",
|
|
22459
|
+
"type": "string",
|
|
22246
22460
|
"required": true,
|
|
22247
22461
|
"description": "Name of the style, written so a person can tell it apart from the organization's other styles."
|
|
22248
22462
|
},
|
|
@@ -22259,6 +22473,19 @@ export const operations = [
|
|
|
22259
22473
|
"required": false,
|
|
22260
22474
|
"description": "One to five paragraphs of writing in the intended voice; these paragraphs are what reach a writer, so choose them carefully."
|
|
22261
22475
|
},
|
|
22476
|
+
{
|
|
22477
|
+
"name": "pictures",
|
|
22478
|
+
"type": "array",
|
|
22479
|
+
"itemType": "object",
|
|
22480
|
+
"required": false,
|
|
22481
|
+
"description": "Picture samples to store with the style, in the order you send them; a bare file identifier is stored as a picture with no name and no description."
|
|
22482
|
+
},
|
|
22483
|
+
{
|
|
22484
|
+
"name": "work",
|
|
22485
|
+
"type": "string",
|
|
22486
|
+
"required": false,
|
|
22487
|
+
"description": "Work this style should belong to, by its wk_ identifier; pass it so the work can attach the style later, since a work may only use its own styles. Omit it for a style that belongs to no single work."
|
|
22488
|
+
},
|
|
22262
22489
|
{
|
|
22263
22490
|
"name": "use",
|
|
22264
22491
|
"type": "array",
|
|
@@ -22322,7 +22549,7 @@ export const operations = [
|
|
|
22322
22549
|
"resource": "studio.styles",
|
|
22323
22550
|
"method": "update",
|
|
22324
22551
|
"summary": "Change a writing style",
|
|
22325
|
-
"description": "Change a style: its name, its description, its samples, its use and avoid lists, or its glossary. Send update_mask naming exactly the fields you change; a list the mask names is replaced whole. Adding a term to the glossary or to avoid also changes what the deterministic checks flag, so a work that uses this style sees new findings on its next check.",
|
|
22552
|
+
"description": "Change a style: its name, its description, its samples, its picture samples, its use and avoid lists, or its glossary. Send update_mask naming exactly the fields you change; a list the mask names is replaced whole. Adding a term to the glossary or to avoid also changes what the deterministic checks flag, so a work that uses this style sees new findings on its next check.",
|
|
22326
22553
|
"http": "PATCH",
|
|
22327
22554
|
"path": "/studio/v1/styles/{style}",
|
|
22328
22555
|
"streaming": "no",
|
|
@@ -22364,6 +22591,13 @@ export const operations = [
|
|
|
22364
22591
|
"required": false,
|
|
22365
22592
|
"description": "Complete set of sample paragraphs, replacing the previous ones; removing a sample removes it from every later context pack."
|
|
22366
22593
|
},
|
|
22594
|
+
{
|
|
22595
|
+
"name": "pictures",
|
|
22596
|
+
"type": "array",
|
|
22597
|
+
"itemType": "object",
|
|
22598
|
+
"required": false,
|
|
22599
|
+
"description": "Complete picture gallery for this style, replacing the previous one and keeping the order you send; a picture left out stops being shown."
|
|
22600
|
+
},
|
|
22367
22601
|
{
|
|
22368
22602
|
"name": "use",
|
|
22369
22603
|
"type": "array",
|
|
@@ -22735,7 +22969,7 @@ export const operations = [
|
|
|
22735
22969
|
"resource": "studio.works",
|
|
22736
22970
|
"method": "create",
|
|
22737
22971
|
"summary": "Create a work with its goal",
|
|
22738
|
-
"description": "Create a work: one deliverable piece plus everything around it. Pass the goal the writing serves
|
|
22972
|
+
"description": "Create a work: one deliverable piece plus everything around it. Pass the goal the writing serves: the reader, what that reader should get or do, and the one-sentence message. The work holds the goal only; the requirement for one piece (the person's text, its points, a length, banned wording) belongs to that draft and is given with the drafts create call, so a novel's plot points and length never bind the promotion derived from it. A slug is derived from the title unless you pass one. The work starts with no drafts; create the first one with the drafts create call, because the genre decides the structure. A reference library belongs to the work and is created with it, so the setting written later stays this work's own; pass based_on to start from another work and have its setting and styles copied in as your own.",
|
|
22739
22973
|
"http": "POST",
|
|
22740
22974
|
"path": "/studio/v1/works",
|
|
22741
22975
|
"streaming": "no",
|
|
@@ -22761,26 +22995,32 @@ export const operations = [
|
|
|
22761
22995
|
"name": "goal",
|
|
22762
22996
|
"type": "object",
|
|
22763
22997
|
"required": true,
|
|
22764
|
-
"description": "What this work is for: who reads it, what that reader should get or do, the one message it carries,
|
|
22765
|
-
},
|
|
22766
|
-
{
|
|
22767
|
-
"name": "brief",
|
|
22768
|
-
"type": "object",
|
|
22769
|
-
"required": false,
|
|
22770
|
-
"description": "The original requirement as it arrives with a new work: the person's text, any attached source files, and the points split from it."
|
|
22998
|
+
"description": "What this work is for: who reads it, what that reader should get or do, and the one message it carries. Limits such as a length belong to a draft's brief, not to the goal; a goal with constraints or any other unknown field answers INVALID_PARAMS."
|
|
22771
22999
|
},
|
|
22772
23000
|
{
|
|
22773
23001
|
"name": "codexes",
|
|
22774
23002
|
"type": "array",
|
|
22775
23003
|
"itemType": "string",
|
|
22776
23004
|
"required": false,
|
|
22777
|
-
"description": "
|
|
23005
|
+
"description": "Shared reference libraries to attach at creation, on top of the work's own library, which is always created with it; a library owned by another organization is refused rather than attached."
|
|
22778
23006
|
},
|
|
22779
23007
|
{
|
|
22780
23008
|
"name": "style",
|
|
22781
23009
|
"type": "string",
|
|
22782
23010
|
"required": false,
|
|
22783
|
-
"description": "Style to attach to the work, whose samples and glossary then reach every context pack unless a draft overrides it."
|
|
23011
|
+
"description": "Style to attach to the work, whose samples and glossary then reach every context pack unless a draft overrides it. A new work has no styles of its own yet, so leave this out and attach one after creating a style with work set to this work."
|
|
23012
|
+
},
|
|
23013
|
+
{
|
|
23014
|
+
"name": "cover",
|
|
23015
|
+
"type": "string",
|
|
23016
|
+
"required": false,
|
|
23017
|
+
"description": "Cover image for the work, by a file identifier that belongs to this organization; leave it out for a work with no cover."
|
|
23018
|
+
},
|
|
23019
|
+
{
|
|
23020
|
+
"name": "based_on",
|
|
23021
|
+
"type": "string",
|
|
23022
|
+
"required": false,
|
|
23023
|
+
"description": "Work to copy at creation, by its wk_ identifier or its slug: its own library's entries, its styles and the style it uses come into this new work as its own copies, and the source is recorded as this work's baseline. The two works are independent afterwards, and drafts are not copied. Use it to start a sequel or a variant from an existing setting instead of rebuilding the setting; a source work this organization does not own answers BASELINE_NOT_FOUND."
|
|
22784
23024
|
},
|
|
22785
23025
|
{
|
|
22786
23026
|
"name": "labels",
|
|
@@ -22890,7 +23130,7 @@ export const operations = [
|
|
|
22890
23130
|
"name": "goal",
|
|
22891
23131
|
"type": "object",
|
|
22892
23132
|
"required": false,
|
|
22893
|
-
"description": "What this work is for: who reads it, what that reader should get or do, the one message it carries,
|
|
23133
|
+
"description": "What this work is for: who reads it, what that reader should get or do, and the one message it carries. Limits such as a length belong to a draft's brief, not to the goal; a goal with constraints or any other unknown field answers INVALID_PARAMS."
|
|
22894
23134
|
},
|
|
22895
23135
|
{
|
|
22896
23136
|
"name": "codexes",
|
|
@@ -22903,7 +23143,13 @@ export const operations = [
|
|
|
22903
23143
|
"name": "style",
|
|
22904
23144
|
"type": "string",
|
|
22905
23145
|
"required": false,
|
|
22906
|
-
"description": "Style to attach to the work, replacing the previous one; send an empty value to detach the style entirely."
|
|
23146
|
+
"description": "Style to attach to the work, replacing the previous one; send an empty value to detach the style entirely. It must be one of this work's own styles — name a style created with work set to this work — and the style of another work is refused with STYLE_NOT_IN_WORK."
|
|
23147
|
+
},
|
|
23148
|
+
{
|
|
23149
|
+
"name": "cover",
|
|
23150
|
+
"type": "string",
|
|
23151
|
+
"required": false,
|
|
23152
|
+
"description": "Cover image to set, by a file identifier that belongs to this organization, replacing the previous cover; send null with cover named in the update mask to clear the cover."
|
|
22907
23153
|
},
|
|
22908
23154
|
{
|
|
22909
23155
|
"name": "labels",
|
|
@@ -22920,69 +23166,6 @@ export const operations = [
|
|
|
22920
23166
|
]
|
|
22921
23167
|
}
|
|
22922
23168
|
},
|
|
22923
|
-
{
|
|
22924
|
-
"resource": "studio.works",
|
|
22925
|
-
"method": "updateBrief",
|
|
22926
|
-
"summary": "Add to or correct the original brief",
|
|
22927
|
-
"description": "Extend the original brief: append text, attach files, add points taken from an outline, edit one point, or drop a point. Points are how the software checks that every requirement landed in a written unit, so split the person's outline into points here rather than burying them in prose. The brief carries its own revision, separate from the work and from each draft.",
|
|
22928
|
-
"http": "PATCH",
|
|
22929
|
-
"path": "/studio/v1/works/{work}/brief",
|
|
22930
|
-
"streaming": "no",
|
|
22931
|
-
"pagination": false,
|
|
22932
|
-
"pathParams": [
|
|
22933
|
-
{
|
|
22934
|
-
"name": "work",
|
|
22935
|
-
"sdkName": "work",
|
|
22936
|
-
"description": "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
|
|
22937
|
-
}
|
|
22938
|
-
],
|
|
22939
|
-
"query": [],
|
|
22940
|
-
"body": {
|
|
22941
|
-
"required": true,
|
|
22942
|
-
"fields": [
|
|
22943
|
-
{
|
|
22944
|
-
"name": "expected_revision",
|
|
22945
|
-
"type": "integer",
|
|
22946
|
-
"required": false,
|
|
22947
|
-
"description": "Brief revision the caller read; a mismatch is refused with REVISION_CONFLICT rather than merged."
|
|
22948
|
-
},
|
|
22949
|
-
{
|
|
22950
|
-
"name": "text",
|
|
22951
|
-
"type": "string",
|
|
22952
|
-
"required": false,
|
|
22953
|
-
"description": "Text to append to the stored brief, added after what is already there and never replacing it."
|
|
22954
|
-
},
|
|
22955
|
-
{
|
|
22956
|
-
"name": "attachments",
|
|
22957
|
-
"type": "array",
|
|
22958
|
-
"itemType": "string",
|
|
22959
|
-
"required": false,
|
|
22960
|
-
"description": "Source files to keep with the brief, added to the ones already attached."
|
|
22961
|
-
},
|
|
22962
|
-
{
|
|
22963
|
-
"name": "add_points",
|
|
22964
|
-
"type": "array",
|
|
22965
|
-
"itemType": "object",
|
|
22966
|
-
"required": false,
|
|
22967
|
-
"description": "New requirement points to split out of the brief; each receives the next free key in order. A plain string is a unit point; pass { text, scope: work } for a constraint on the whole piece (period, voice, point of view, cast, words to avoid)."
|
|
22968
|
-
},
|
|
22969
|
-
{
|
|
22970
|
-
"name": "edit_points",
|
|
22971
|
-
"type": "array",
|
|
22972
|
-
"itemType": "object",
|
|
22973
|
-
"required": false,
|
|
22974
|
-
"description": "Existing points to reword, each naming the key it keeps and the text that replaces it."
|
|
22975
|
-
},
|
|
22976
|
-
{
|
|
22977
|
-
"name": "remove_points",
|
|
22978
|
-
"type": "array",
|
|
22979
|
-
"itemType": "string",
|
|
22980
|
-
"required": false,
|
|
22981
|
-
"description": "Keys of points to drop; a dropped key is never reused, so later points keep their own keys."
|
|
22982
|
-
}
|
|
22983
|
-
]
|
|
22984
|
-
}
|
|
22985
|
-
},
|
|
22986
23169
|
{
|
|
22987
23170
|
"resource": "studio.works.drafts",
|
|
22988
23171
|
"method": "list",
|
|
@@ -23027,6 +23210,12 @@ export const operations = [
|
|
|
23027
23210
|
"required": true,
|
|
23028
23211
|
"description": "Genre key the draft is written in, taken from the genre list; it decides the unit kinds, the properties and the checks."
|
|
23029
23212
|
},
|
|
23213
|
+
{
|
|
23214
|
+
"name": "key",
|
|
23215
|
+
"type": "string",
|
|
23216
|
+
"required": false,
|
|
23217
|
+
"description": "Short name of the draft inside the work, used in every later path in place of its id; omit it and the genre gives one (novel, xiaohongshu, a numbered one when taken). Lowercase letters, digits and hyphens."
|
|
23218
|
+
},
|
|
23030
23219
|
{
|
|
23031
23220
|
"name": "title",
|
|
23032
23221
|
"type": "string",
|
|
@@ -23062,6 +23251,12 @@ export const operations = [
|
|
|
23062
23251
|
"required": false,
|
|
23063
23252
|
"description": "What the new draft should be derived from, so the service can record the source revision for later staleness checks."
|
|
23064
23253
|
},
|
|
23254
|
+
{
|
|
23255
|
+
"name": "brief",
|
|
23256
|
+
"type": "object",
|
|
23257
|
+
"required": false,
|
|
23258
|
+
"description": "The requirement as it arrives with a new draft: the person's text, any attached source files, the constraints and the points split from it."
|
|
23259
|
+
},
|
|
23065
23260
|
{
|
|
23066
23261
|
"name": "props",
|
|
23067
23262
|
"type": "object",
|
|
@@ -23187,6 +23382,80 @@ export const operations = [
|
|
|
23187
23382
|
]
|
|
23188
23383
|
}
|
|
23189
23384
|
},
|
|
23385
|
+
{
|
|
23386
|
+
"resource": "studio.works.drafts",
|
|
23387
|
+
"method": "updateBrief",
|
|
23388
|
+
"summary": "Add to or correct a draft's brief",
|
|
23389
|
+
"description": "Extend the brief of one draft: append text, attach files, replace its constraints, add points taken from an outline, edit one point, or drop a point. The brief belongs to the draft, not the work: the length and plot points of a novel do not bind the promotion derived from it. Points are how the software checks that every requirement landed in a written unit, so split the person's outline into points here rather than burying them in prose; the constraints (a length such as 3000 字以内, banned wording) are what the length check and the context pack read. The brief carries its own revision, separate from the draft's.",
|
|
23390
|
+
"http": "PATCH",
|
|
23391
|
+
"path": "/studio/v1/works/{work}/drafts/{draft}/brief",
|
|
23392
|
+
"streaming": "no",
|
|
23393
|
+
"pagination": false,
|
|
23394
|
+
"pathParams": [
|
|
23395
|
+
{
|
|
23396
|
+
"name": "work",
|
|
23397
|
+
"sdkName": "work",
|
|
23398
|
+
"description": "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
|
|
23399
|
+
},
|
|
23400
|
+
{
|
|
23401
|
+
"name": "draft",
|
|
23402
|
+
"sdkName": "draft",
|
|
23403
|
+
"description": "Draft being addressed, either its in-work key such as novel or its drf_ identifier; a key renamed earlier still resolves through its previous value."
|
|
23404
|
+
}
|
|
23405
|
+
],
|
|
23406
|
+
"query": [],
|
|
23407
|
+
"body": {
|
|
23408
|
+
"required": true,
|
|
23409
|
+
"fields": [
|
|
23410
|
+
{
|
|
23411
|
+
"name": "expected_revision",
|
|
23412
|
+
"type": "integer",
|
|
23413
|
+
"required": false,
|
|
23414
|
+
"description": "Brief revision the caller read; a mismatch is refused with REVISION_CONFLICT rather than merged."
|
|
23415
|
+
},
|
|
23416
|
+
{
|
|
23417
|
+
"name": "text",
|
|
23418
|
+
"type": "string",
|
|
23419
|
+
"required": false,
|
|
23420
|
+
"description": "Text to append to the stored brief, added after what is already there and never replacing it."
|
|
23421
|
+
},
|
|
23422
|
+
{
|
|
23423
|
+
"name": "constraints",
|
|
23424
|
+
"type": "string",
|
|
23425
|
+
"required": false,
|
|
23426
|
+
"description": "The draft's constraints as one text, replacing what is there; pass an empty string to clear them."
|
|
23427
|
+
},
|
|
23428
|
+
{
|
|
23429
|
+
"name": "attachments",
|
|
23430
|
+
"type": "array",
|
|
23431
|
+
"itemType": "string",
|
|
23432
|
+
"required": false,
|
|
23433
|
+
"description": "Source files to keep with the brief, added to the ones already attached."
|
|
23434
|
+
},
|
|
23435
|
+
{
|
|
23436
|
+
"name": "add_points",
|
|
23437
|
+
"type": "array",
|
|
23438
|
+
"itemType": "object",
|
|
23439
|
+
"required": false,
|
|
23440
|
+
"description": "New requirement points to split out of the brief; each receives the next free key in order. A plain string is a unit point; pass { text, scope: work } for a constraint on the whole piece (period, voice, point of view, cast, words to avoid)."
|
|
23441
|
+
},
|
|
23442
|
+
{
|
|
23443
|
+
"name": "edit_points",
|
|
23444
|
+
"type": "array",
|
|
23445
|
+
"itemType": "object",
|
|
23446
|
+
"required": false,
|
|
23447
|
+
"description": "Existing points to reword, each naming the key it keeps and the text that replaces it."
|
|
23448
|
+
},
|
|
23449
|
+
{
|
|
23450
|
+
"name": "remove_points",
|
|
23451
|
+
"type": "array",
|
|
23452
|
+
"itemType": "string",
|
|
23453
|
+
"required": false,
|
|
23454
|
+
"description": "Keys of points to drop; a dropped key is never reused, so later points keep their own keys."
|
|
23455
|
+
}
|
|
23456
|
+
]
|
|
23457
|
+
}
|
|
23458
|
+
},
|
|
23190
23459
|
{
|
|
23191
23460
|
"resource": "studio.works.drafts",
|
|
23192
23461
|
"method": "retrieveExport",
|
|
@@ -23765,7 +24034,7 @@ export const operations = [
|
|
|
23765
24034
|
"resource": "studio.works.reviewSettings",
|
|
23766
24035
|
"method": "retrieve",
|
|
23767
24036
|
"summary": "Read the review settings of a work",
|
|
23768
|
-
"description": "Read how this work is reviewed: the
|
|
24037
|
+
"description": "Read how this work is reviewed: the most rounds it may take and the revision the settings are at. Who reviews is not here but on the work's reviewer roster, which every round asks whole, and read that with the reviewer list. Read this before sending a round, because a draft past its max_rounds answers REVIEW_ROUND_LIMIT, and before changing it, because the update carries the revision it returns as its precondition. Settings are not part of the work body: they are read and written here.",
|
|
23769
24038
|
"http": "GET",
|
|
23770
24039
|
"path": "/studio/v1/works/{work}/review-settings",
|
|
23771
24040
|
"streaming": "no",
|
|
@@ -23782,8 +24051,8 @@ export const operations = [
|
|
|
23782
24051
|
{
|
|
23783
24052
|
"resource": "studio.works.reviewSettings",
|
|
23784
24053
|
"method": "update",
|
|
23785
|
-
"summary": "Change
|
|
23786
|
-
"description": "Change
|
|
24054
|
+
"summary": "Change how many rounds a work may take",
|
|
24055
|
+
"description": "Change how many rounds a work may take. Send expected_revision with the revision this settings read returned, so two writers cannot overwrite each other silently; a mismatch answers REVISION_CONFLICT and the settings are unchanged. A person makes this change: an agent calling it is refused with PERMISSION_DENIED. The settings are locked while a round of this work is reviewing, which answers REVIEW_IN_PROGRESS; change them after the round decides or is cancelled. Raising max_rounds is how a draft whose rounds are used up is sent again. The changed limit applies to rounds sent from now on and never rewrites a round already sent; who reviews is on the reviewer roster, not here.",
|
|
23787
24056
|
"http": "PATCH",
|
|
23788
24057
|
"path": "/studio/v1/works/{work}/review-settings",
|
|
23789
24058
|
"streaming": "no",
|
|
@@ -23805,13 +24074,6 @@ export const operations = [
|
|
|
23805
24074
|
"required": true,
|
|
23806
24075
|
"description": "Revision the settings read returned; a mismatch means somebody else changed the panel in between and this call is refused, so read the settings again and repeat with the new revision."
|
|
23807
24076
|
},
|
|
23808
|
-
{
|
|
23809
|
-
"name": "seats",
|
|
23810
|
-
"type": "array",
|
|
23811
|
-
"itemType": "object",
|
|
23812
|
-
"required": false,
|
|
23813
|
-
"description": "Seats the panel should have from now on, replacing the current seats whole; leave the field out to keep the current panel."
|
|
23814
|
-
},
|
|
23815
24077
|
{
|
|
23816
24078
|
"name": "max_rounds",
|
|
23817
24079
|
"type": "number",
|
|
@@ -23821,11 +24083,142 @@ export const operations = [
|
|
|
23821
24083
|
]
|
|
23822
24084
|
}
|
|
23823
24085
|
},
|
|
24086
|
+
{
|
|
24087
|
+
"resource": "studio.works.reviewers",
|
|
24088
|
+
"method": "list",
|
|
24089
|
+
"summary": "List the reviewers of a work",
|
|
24090
|
+
"description": "List the reviewers on this work's roster: every time a round of this work is sent, every reviewer on the roster whose kind the round asks for takes part, one seat each, in the order they were added, and the sender reads them as A, B, C. Each entry gives the agent id as /v1/agents returns it (agent_…), its kind on this roster and the service agent's display name. Read it before sending a round, because a roster with nobody of the asked kind answers NO_REVIEWERS; read it after to see who has been judging. A reviewer of another work or another organization is never listed, and a work of another organization answers WORK_NOT_FOUND. The answer is one page; keep following next_page_token while it is present.",
|
|
24091
|
+
"http": "GET",
|
|
24092
|
+
"path": "/studio/v1/works/{work}/reviewers",
|
|
24093
|
+
"streaming": "no",
|
|
24094
|
+
"pagination": false,
|
|
24095
|
+
"pathParams": [
|
|
24096
|
+
{
|
|
24097
|
+
"name": "work",
|
|
24098
|
+
"sdkName": "work",
|
|
24099
|
+
"description": "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
|
|
24100
|
+
}
|
|
24101
|
+
],
|
|
24102
|
+
"query": [
|
|
24103
|
+
{
|
|
24104
|
+
"name": "page_size",
|
|
24105
|
+
"type": "integer",
|
|
24106
|
+
"required": false,
|
|
24107
|
+
"description": "How many items this page returns, 1 to 100; omitted uses the service default. Treat the answer as one page, not the whole set, and keep following next_page_token while it is present."
|
|
24108
|
+
},
|
|
24109
|
+
{
|
|
24110
|
+
"name": "page_token",
|
|
24111
|
+
"type": "string",
|
|
24112
|
+
"required": false,
|
|
24113
|
+
"description": "Cursor from the previous answer's next_page_token; it is opaque, so pass it back unchanged and never build one from an id or an offset."
|
|
24114
|
+
}
|
|
24115
|
+
]
|
|
24116
|
+
},
|
|
24117
|
+
{
|
|
24118
|
+
"resource": "studio.works.reviewers",
|
|
24119
|
+
"method": "create",
|
|
24120
|
+
"summary": "Add a reviewer to a work",
|
|
24121
|
+
"description": "Put one of this organization's service agents on the work's reviewer roster, with the kind it reviews as: expert writes a scored report, audience fills a screening card. Every round sent from now on asks every roster member of that round's kind, so add only agents that should judge every round of this work. A person makes this change, and an agent calling it is refused with PERMISSION_DENIED. Pass the agent id as /v1/agents returns it (agent_…). The agent must be a service agent of this organization: anything else, including an absent id and another organization's agent, answers REVIEWER_NOT_SERVICE_AGENT. An agent already on the roster answers REVIEWER_ALREADY_ADDED; change its kind with the update operation instead.",
|
|
24122
|
+
"http": "POST",
|
|
24123
|
+
"path": "/studio/v1/works/{work}/reviewers",
|
|
24124
|
+
"streaming": "no",
|
|
24125
|
+
"pagination": false,
|
|
24126
|
+
"pathParams": [
|
|
24127
|
+
{
|
|
24128
|
+
"name": "work",
|
|
24129
|
+
"sdkName": "work",
|
|
24130
|
+
"description": "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
|
|
24131
|
+
}
|
|
24132
|
+
],
|
|
24133
|
+
"query": [],
|
|
24134
|
+
"body": {
|
|
24135
|
+
"required": true,
|
|
24136
|
+
"fields": [
|
|
24137
|
+
{
|
|
24138
|
+
"name": "agent",
|
|
24139
|
+
"type": "string",
|
|
24140
|
+
"required": true,
|
|
24141
|
+
"description": "Service agent of this organization to add, by the agent_ id /v1/agents returns for it; the agent must exist in this organization and be a service agent, or the call answers REVIEWER_NOT_SERVICE_AGENT."
|
|
24142
|
+
},
|
|
24143
|
+
{
|
|
24144
|
+
"name": "kind",
|
|
24145
|
+
"type": "string",
|
|
24146
|
+
"enum": [
|
|
24147
|
+
"expert",
|
|
24148
|
+
"audience"
|
|
24149
|
+
],
|
|
24150
|
+
"required": true,
|
|
24151
|
+
"description": "Kind this reviewer reviews as on this roster: expert writes a scored report, audience fills a screening card."
|
|
24152
|
+
}
|
|
24153
|
+
]
|
|
24154
|
+
}
|
|
24155
|
+
},
|
|
24156
|
+
{
|
|
24157
|
+
"resource": "studio.works.reviewers",
|
|
24158
|
+
"method": "delete",
|
|
24159
|
+
"summary": "Remove a reviewer from a work",
|
|
24160
|
+
"description": "Take one agent off the work's reviewer roster, so rounds sent from now on no longer ask it. What it has already judged is kept: the rounds it took part in stay readable with their reports,. A person makes this change, and an agent calling it is refused with PERMISSION_DENIED. An agent that is not on this work's roster answers REVIEWER_NOT_FOUND.",
|
|
24161
|
+
"http": "DELETE",
|
|
24162
|
+
"path": "/studio/v1/works/{work}/reviewers/{agent}",
|
|
24163
|
+
"streaming": "no",
|
|
24164
|
+
"pagination": false,
|
|
24165
|
+
"pathParams": [
|
|
24166
|
+
{
|
|
24167
|
+
"name": "work",
|
|
24168
|
+
"sdkName": "work",
|
|
24169
|
+
"description": "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
|
|
24170
|
+
},
|
|
24171
|
+
{
|
|
24172
|
+
"name": "agent",
|
|
24173
|
+
"sdkName": "agent",
|
|
24174
|
+
"description": "Reviewer being addressed, by the agent value this work's reviewer list returns for it; a reviewer is a member of one work's roster, so it has no address outside that work."
|
|
24175
|
+
}
|
|
24176
|
+
],
|
|
24177
|
+
"query": []
|
|
24178
|
+
},
|
|
24179
|
+
{
|
|
24180
|
+
"resource": "studio.works.reviewers",
|
|
24181
|
+
"method": "update",
|
|
24182
|
+
"summary": "Change a reviewer's kind",
|
|
24183
|
+
"description": "Change the kind one roster member reviews as: expert or audience. Use it when a reviewer should judge a different way, rather than removing it and adding it back, because the roster position it holds decides its label and is kept. A person makes this change, and an agent calling it is refused with PERMISSION_DENIED. A round already sent is not affected, because its seats were fixed when it was sent. An agent that is not on this work's roster answers REVIEWER_NOT_FOUND, which is also the answer for another work's reviewer.",
|
|
24184
|
+
"http": "PATCH",
|
|
24185
|
+
"path": "/studio/v1/works/{work}/reviewers/{agent}",
|
|
24186
|
+
"streaming": "no",
|
|
24187
|
+
"pagination": false,
|
|
24188
|
+
"pathParams": [
|
|
24189
|
+
{
|
|
24190
|
+
"name": "work",
|
|
24191
|
+
"sdkName": "work",
|
|
24192
|
+
"description": "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
|
|
24193
|
+
},
|
|
24194
|
+
{
|
|
24195
|
+
"name": "agent",
|
|
24196
|
+
"sdkName": "agent",
|
|
24197
|
+
"description": "Reviewer being addressed, by the agent value this work's reviewer list returns for it; a reviewer is a member of one work's roster, so it has no address outside that work."
|
|
24198
|
+
}
|
|
24199
|
+
],
|
|
24200
|
+
"query": [],
|
|
24201
|
+
"body": {
|
|
24202
|
+
"required": true,
|
|
24203
|
+
"fields": [
|
|
24204
|
+
{
|
|
24205
|
+
"name": "kind",
|
|
24206
|
+
"type": "string",
|
|
24207
|
+
"enum": [
|
|
24208
|
+
"expert",
|
|
24209
|
+
"audience"
|
|
24210
|
+
],
|
|
24211
|
+
"required": true,
|
|
24212
|
+
"description": "Kind this reviewer reviews as from now on; rounds already sent keep the kind they were sent with."
|
|
24213
|
+
}
|
|
24214
|
+
]
|
|
24215
|
+
}
|
|
24216
|
+
},
|
|
23824
24217
|
{
|
|
23825
24218
|
"resource": "studio.works.reviews",
|
|
23826
24219
|
"method": "list",
|
|
23827
24220
|
"summary": "List the blind review rounds of a work",
|
|
23828
|
-
"description": "List the review rounds of one work, newest round first, each with its draft, round number, status
|
|
24221
|
+
"description": "List the review rounds of one work, newest round first, each with its draft, round number, status and decision. Pass draft to see the rounds of one draft only. Use it to find the round to read, to answer or to cancel, and to see whether the draft already has a round running before sending another: a running round answers REVIEW_IN_PROGRESS. The answer is one page; keep following next_page_token while it is present. Rounds of other organizations are not listed and a work of another organization answers WORK_NOT_FOUND.",
|
|
23829
24222
|
"http": "GET",
|
|
23830
24223
|
"path": "/studio/v1/works/{work}/reviews",
|
|
23831
24224
|
"streaming": "no",
|
|
@@ -23862,7 +24255,7 @@ export const operations = [
|
|
|
23862
24255
|
"resource": "studio.works.reviews",
|
|
23863
24256
|
"method": "create",
|
|
23864
24257
|
"summary": "Send a draft to blind review",
|
|
23865
|
-
"description": "Send one draft of this work to the blind review centre, which freezes the draft's content revision as it is now
|
|
24258
|
+
"description": "Send one draft of this work to the blind review centre, which freezes the draft's content revision as it is now and asks in every reviewer on the work's roster whose kind this round asks. Use it once the draft is written; the roster decides who reviews, and the sender only ever reads labels A, B, C, never the reviewer identities. Pass mode to narrow this round to expert reviewers, to audience reviewers or to both, which the settings do not decide. From the second round pass revision_of with the previous round's rv_ id and note with the change note that answers that round point by point. The answer is the new round in status reviewing; read it again with the review read until status becomes decided and then read decision, expert_reports and screening. Billing follows the reviewers' sessions, not the frame of this call. DRAFT_NOT_READY means the draft still has units without a body or fails a hard check, so finish it first; REVIEW_IN_PROGRESS means this draft already has a round running, so wait for it to decide or cancel it; REVIEW_ROUND_LIMIT means the work reached max_rounds and a person has to raise it in the review settings; NO_REVIEWERS means the work's reviewer roster has nobody of the kind this round asks, so a person adds one to the work.",
|
|
23866
24259
|
"http": "POST",
|
|
23867
24260
|
"path": "/studio/v1/works/{work}/reviews",
|
|
23868
24261
|
"streaming": "no",
|
|
@@ -23914,7 +24307,7 @@ export const operations = [
|
|
|
23914
24307
|
"resource": "studio.works.reviews",
|
|
23915
24308
|
"method": "retrieve",
|
|
23916
24309
|
"summary": "Read one blind review round",
|
|
23917
|
-
"description": "Read one round in the sender's view: its status, the seats as labels A, B, C with the state of each, the expert reports that have come back, the screening cards, the round decision and the audience tally. Reviewers appear only as labels; who they are is never part of this answer. Call it after sending a round and repeat while status is reviewing, because reviewers answer asynchronously and a round that is not decided yet carries fewer reports. status decided gives decision and screening; cancelled means a person stopped the round; failed means it could not be completed, for example when
|
|
24310
|
+
"description": "Read one round in the sender's view: its status, the seats as labels A, B, C with the state of each, the expert reports that have come back, the screening cards, the round decision and the audience tally. Reviewers appear only as labels; who they are is never part of this answer. Call it after sending a round and repeat while status is reviewing, because reviewers answer asynchronously and a round that is not decided yet carries fewer reports. status decided gives decision and screening; cancelled means a person stopped the round; failed means it could not be completed, for example when no reviewer on the roster answered at all. Pass view=audit to also get the assignment record, the confidential editor notes and the reviewer sessions; that block is filled only for an organization administrator, and anyone else reads the same round without it.",
|
|
23918
24311
|
"http": "GET",
|
|
23919
24312
|
"path": "/studio/v1/works/{work}/reviews/{review}",
|
|
23920
24313
|
"streaming": "no",
|
|
@@ -23928,7 +24321,7 @@ export const operations = [
|
|
|
23928
24321
|
{
|
|
23929
24322
|
"name": "review",
|
|
23930
24323
|
"sdkName": "review",
|
|
23931
|
-
"description": "Blind review round being addressed, by its rv_ identifier from the send answer or from the round list
|
|
24324
|
+
"description": "Blind review round being addressed, by its rv_ identifier from the send answer or from the round list."
|
|
23932
24325
|
}
|
|
23933
24326
|
],
|
|
23934
24327
|
"query": [
|
|
@@ -23944,40 +24337,6 @@ export const operations = [
|
|
|
23944
24337
|
}
|
|
23945
24338
|
]
|
|
23946
24339
|
},
|
|
23947
|
-
{
|
|
23948
|
-
"resource": "studio.works.reviews",
|
|
23949
|
-
"method": "appeal",
|
|
23950
|
-
"summary": "Appeal a decided review round",
|
|
23951
|
-
"description": "Appeal the outcome of a round: the centre draws one more reviewer of the same kind and puts that reviewer's answer beside the existing ones, without telling them the earlier outcome. Use it once, when the sender disagrees with the decision; the reason is recorded for the review centre, and the sender cannot choose the new reviewer. The round goes back to status reviewing and its id stays the same, so read it again afterwards. Each round can be appealed once: a second call for the same round answers REVIEW_ALREADY_APPEALED. Only a decided round can be appealed, so a round that is still reviewing or was cancelled answers REVIEW_IN_PROGRESS or stays cancelled. The extra reviewer's session is billed like any other reviewer session.",
|
|
23952
|
-
"http": "POST",
|
|
23953
|
-
"path": "/studio/v1/works/{work}/reviews/{review}:appeal",
|
|
23954
|
-
"streaming": "no",
|
|
23955
|
-
"pagination": false,
|
|
23956
|
-
"pathParams": [
|
|
23957
|
-
{
|
|
23958
|
-
"name": "work",
|
|
23959
|
-
"sdkName": "work",
|
|
23960
|
-
"description": "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
|
|
23961
|
-
},
|
|
23962
|
-
{
|
|
23963
|
-
"name": "review",
|
|
23964
|
-
"sdkName": "review",
|
|
23965
|
-
"description": "Blind review round being addressed, by its rv_ identifier from the send answer or from the round list; the identifier stays the same when the round is appealed."
|
|
23966
|
-
}
|
|
23967
|
-
],
|
|
23968
|
-
"query": [],
|
|
23969
|
-
"body": {
|
|
23970
|
-
"required": true,
|
|
23971
|
-
"fields": [
|
|
23972
|
-
{
|
|
23973
|
-
"name": "reason",
|
|
23974
|
-
"type": "string",
|
|
23975
|
-
"required": true,
|
|
23976
|
-
"description": "Reason for the appeal, recorded for the review centre; it does not reach the reviewers and cannot name which reviewer to draw."
|
|
23977
|
-
}
|
|
23978
|
-
]
|
|
23979
|
-
}
|
|
23980
|
-
},
|
|
23981
24340
|
{
|
|
23982
24341
|
"resource": "studio.works.reviews",
|
|
23983
24342
|
"method": "cancel",
|
|
@@ -23996,7 +24355,7 @@ export const operations = [
|
|
|
23996
24355
|
{
|
|
23997
24356
|
"name": "review",
|
|
23998
24357
|
"sdkName": "review",
|
|
23999
|
-
"description": "Blind review round being addressed, by its rv_ identifier from the send answer or from the round list
|
|
24358
|
+
"description": "Blind review round being addressed, by its rv_ identifier from the send answer or from the round list."
|
|
24000
24359
|
}
|
|
24001
24360
|
],
|
|
24002
24361
|
"query": []
|
|
@@ -24952,7 +25311,7 @@ export const operations = [
|
|
|
24952
25311
|
"name": "filter",
|
|
24953
25312
|
"type": "string",
|
|
24954
25313
|
"required": false,
|
|
24955
|
-
"description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; write each qualifier as field:value (for example, is:open milestone:5), never field=value. Unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service."
|
|
25314
|
+
"description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, owner, author, mentions, milestone, type, kind, assignee-kind, in and sort (owner:<subject>|none|*|me and no:owner match the single ticket owner; assignee: matches the GitHub-compatible assignees); write each qualifier as field:value (for example, is:open milestone:5), never field=value. Unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service."
|
|
24956
25315
|
}
|
|
24957
25316
|
]
|
|
24958
25317
|
},
|