Skip to content
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

[FR] REST API v2.1.0 first tasks endpoints #519

Closed
Elise17 opened this issue Jul 4, 2024 · 0 comments
Closed

[FR] REST API v2.1.0 first tasks endpoints #519

Elise17 opened this issue Jul 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Elise17
Copy link
Contributor

Elise17 commented Jul 4, 2024

This issue is about the implementation of the first tasks endpoints.

POST /api/v2/cases/{identifier}/tasks
GET /api/v2/tasks/{identifier}
DEL /api/v2/tasks/{identifier}

For each endpoint, the tasks are the following:

document the new API in the openapi documentation
implement automatic tests+code
deprecate the previous endpoint
replace the previous endpoints with the new ones in the web interface

This are the previous endpoints which will be deprecated by these:

In case_ioc_routes.py :

url : /case/tasks/add (old url) => POST /api/v2/cases/{identifier}/tasks
url : /case/tasks/{task_id} (old url) => GET /api/v2/tasks/{identifier}
url : /case/task/delete/{task_id} (old url) => DEL api/v2/tasks/{identifier}

@Elise17 Elise17 added the enhancement New feature or request label Jul 4, 2024
@Elise17 Elise17 self-assigned this Jul 4, 2024
@c8y3 c8y3 mentioned this issue Jul 23, 2024
@c8y3 c8y3 assigned c8y3 and unassigned Elise17 Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants