Skip to content

docs(API): document 404 response for inaccessible job template on job creation - #1352

Merged
jablan merged 2 commits into
mainfrom
openapi-sync/strings-app-pr-19192
Oct 28, 2026
Merged

jablan merged 2 commits into
mainfrom
openapi-sync/strings-app-pr-19192

Conversation

@phrase-bot

@phrase-bot Phrase (phrase-bot) commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

What changed in the API

  • POST /api/v2/projects/{project_id}/jobs: documents a 404 response when job_template_id refers to a job template the caller cannot access.
  • Clarifies the job_template_id description and the 403 response description.

Opened automatically by the openapi-apply agent. The agent does not vouch for correctness beyond "the YAML parsed and the documented layout was followed."

@github-actions

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

3 changes: 0 error, 3 warning, 0 info
warning	[optional-response-header-removed] at doc/compiled.json
	in API POST /projects/{project_id}/jobs
		the optional response header `x-rate-limit-limit` removed for the status `403`

warning	[optional-response-header-removed] at doc/compiled.json
	in API POST /projects/{project_id}/jobs
		the optional response header `x-rate-limit-remaining` removed for the status `403`

warning	[optional-response-header-removed] at doc/compiled.json
	in API POST /projects/{project_id}/jobs
		the optional response header `x-rate-limit-reset` removed for the status `403`

@jablan jablan changed the title feat(API): enforce job template read authorization on job creation feat(API): document 404 response for inaccessible job template on job creation Oct 28, 2026
@jablan jablan changed the title feat(API): document 404 response for inaccessible job template on job creation docs(API): document 404 response for inaccessible job template on job creation Oct 28, 2026
@jablan
jablan merged commit 683a35f into main Oct 28, 2026
15 checks passed
@jablan
jablan deleted the openapi-sync/strings-app-pr-19192 branch October 28, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants