Skip to content

Open API doc for POST /tickets/enqueue #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 25, 2025
Merged

Conversation

adisan19
Copy link
Contributor

Comment on lines +16307 to +16316
admin_assignee_id:
type: string
description: The ID of the admin to which the ticket is assigned.
If not provided, the ticket will be unassigned.
example: '123'
team_assignee_id:
type: string
description: The ID of the team to which the ticket is assigned.
If not provided, the ticket will be unassigned.
example: '8'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also be included as we've updated the admin/team assignee fields for the public API.

@adisan19 adisan19 requested a review from a team March 25, 2025 15:06
@adisan19 adisan19 changed the title Adisa/update open api doc Open API doc for POST /tickets/enqueue Mar 25, 2025
@adisan19 adisan19 changed the title Open API doc for POST /tickets/enqueue Open API doc for POST /tickets/enqueue Mar 25, 2025
@adisan19 adisan19 requested a review from a team March 25, 2025 15:07
Comment on lines +11556 to +11557
- code: parameter_invalid
message: "Missing required ticket }/attributes"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit but I think for missing attributes, 422 might fit this better? Wdyt

https://stackoverflow.com/questions/16133923/400-vs-422-response-to-post-of-data

@adisan19 adisan19 merged commit 3964547 into main Mar 25, 2025
3 checks passed
@adisan19 adisan19 deleted the adisa/update-open-api-doc branch March 25, 2025 17:12
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.

3 participants