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 assets endpoints #556

Closed
Elise17 opened this issue Aug 1, 2024 · 0 comments · Fixed by #562
Closed

[FR] REST API v2.1.0 first assets endpoints #556

Elise17 opened this issue Aug 1, 2024 · 0 comments · Fixed by #562
Assignees
Labels
enhancement New feature or request

Comments

@Elise17
Copy link
Contributor

Elise17 commented Aug 1, 2024

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

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

For each endpoint, the tasks are the following:

document the new API in the openapi documentation
implement automatic tests+code
deprecate the previous endpoints
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_assets_routes.py :

url : /case/assets/add (old url) => POST /api/v2/cases/{identifier}/assets
url : /case/assets/{ioc_id} (old url) => GET /api/v2/assets/{identifier}
url : /case/assets/delete/{ioc_id} (old url) => DEL api/v2/assets/{identifier}
@Elise17 Elise17 added the enhancement New feature or request label Aug 1, 2024
@Elise17 Elise17 self-assigned this Aug 1, 2024
@c8y3 c8y3 linked a pull request Aug 7, 2024 that will close this issue
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
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants