Skip to main content

# API Changelog version 2.20.0

Released on the 25th of February

Written by Julie KOFFI
Updated over 3 weeks ago

Impact level : Low

## POST /api/auth/assets/

- added the new optional request property 'teams'

- added the optional property 'data/teams' to the response with the '201' status

## GET /api/auth/assets/export/json

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/assets/group/

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '201' status

## GET /api/auth/assets/group/export/csv

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/assets/group/export/csv

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## GET /api/auth/assets/group/{id}/

- added the optional property 'teams' to the response with the '200' status

## PATCH /api/auth/assets/group/{id}/

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/assets/group/{id}/owners

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/assets/ports

- added the optional property 'teams' to the response with the '200' status

## GET /api/auth/assets/{id}/

- added the optional property 'teams' to the response with the '200' status

## PATCH /api/auth/assets/{id}/

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/assets/{id}/

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/assets/{id}/tags

- added the new optional request property 'teams'

## GET /api/auth/pentests/

- added the optional property 'results/items/teams' to the response with the '200' status

## POST /api/auth/pentests/

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '201' status

## GET /api/auth/pentests/org/{org_id}/export/csv

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/pentests/org/{org_id}/export/csv

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## GET /api/auth/pentests/{id}/

- added the optional property 'teams' to the response with the '200' status

## PATCH /api/auth/pentests/{id}/

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## GET /api/auth/pentests/{id}/assets/export/csv

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/pentests/{id}/assets/import/csv

- added the new optional request property 'teams'

## POST /api/auth/pentests/{id}/assets/remove

- added the new optional request property 'teams'

## POST /api/auth/pentests/{id}/attachements

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## GET /api/auth/pentests/{id}/vulns/export/csv

- added the optional property 'teams' to the response with the '200' status

## POST /api/auth/pentests/{id}/vulns/import/csv

- added the new optional request property 'teams'

- added the optional property 'teams' to the response with the '200' status

## GET /api/auth/remediations

- ⚠️ the 'results/items/count_vulns' response's property type/format changed from 'string'/'' to 'integer'/'' for status '200'

- for the 'query' request parameter 'gain', the type/format was generalized from 'integer'/'' to 'number'/''

- for the 'query' request parameter 'gain__gte', the type/format was generalized from 'integer'/'' to 'number'/''

- for the 'query' request parameter 'gain__lte', the type/format was generalized from 'integer'/'' to 'number'/''

- the 'count_vulns' response's property default value '0.00' was added for the status '200'

- the 'gain' response's property default value '0.00' was added for the status '200'

## POST /api/auth/remediations

- ⚠️ the 'count_vulns' response's property type/format changed from 'string'/'' to 'integer'/'' for status '201'

- the 'count_vulns' request property default value '0.00' was added

- the 'gain' request property default value '0.00' was added

- the 'count_vulns' response's property default value '0.00' was added for the status '201'

- the 'gain' response's property default value '0.00' was added for the status '201'

## GET /api/auth/remediations/{id}/

- ⚠️ the 'count_vulns' response's property type/format changed from 'string'/'' to 'integer'/'' for status '200'

- the 'count_vulns' response's property default value '0.00' was added for the status '200'

- the 'gain' response's property default value '0.00' was added for the status '200'

## PATCH /api/auth/remediations/{id}/

- ⚠️ the 'count_vulns' response's property type/format changed from 'string'/'' to 'integer'/'' for status '200'

- the 'count_vulns' request property default value '0.00' was added

- the 'gain' request property default value '0.00' was added

- the 'count_vulns' response's property default value '0.00' was added for the status '200'

- the 'gain' response's property default value '0.00' was added for the status '200'

## GET /api/auth/remediations/{id}/comments

- for the 'query' request parameter 'gain', the type/format was generalized from 'integer'/'' to 'number'/''

- for the 'query' request parameter 'gain__gte', the type/format was generalized from 'integer'/'' to 'number'/''

- for the 'query' request parameter 'gain__lte', the type/format was generalized from 'integer'/'' to 'number'/''

## POST /api/auth/teams/{id}/assets/access-control

- endpoint added

## GET /api/auth/user/current

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

## GET /api/auth/users/

- added the new optional 'query' request parameter 'suborg_id'

## POST /api/auth/users/

- ⚠️ removed the required property 'dark_mode' from the response with the '201' status

## GET /api/auth/users/darkmode

- ⚠️ api path removed without deprecation

## POST /api/auth/users/darkmode

- ⚠️ api path removed without deprecation

## GET /api/auth/users/export/csv

- ⚠️ removed the media type 'application/json' for the response with the status '200'

- added the new optional 'query' request parameter 'email'

- added the new optional 'query' request parameter 'first_name'

- added the new optional 'query' request parameter 'id'

- added the new optional 'query' request parameter 'is_active'

- added the new optional 'query' request parameter 'is_asset_group_owner'

- added the new optional 'query' request parameter 'is_asset_owner'

- added the new optional 'query' request parameter 'is_vuln_owner'

- added the new optional 'query' request parameter 'is_vuln_solution_owner'

- added the new optional 'query' request parameter 'last_name'

- added the new optional 'query' request parameter 'org_id'

- added the new optional 'query' request parameter 'role'

- added the new optional 'query' request parameter 'search'

- added the new optional 'query' request parameter 'sorted_by'

- added the new optional 'query' request parameter 'suborg_id'

- added the new optional 'query' request parameter 'suborg_ids'

- added the new optional 'query' request parameter 'suborg_not'

- added the new optional 'query' request parameter 'team'

- added the new optional 'query' request parameter 'team_not'

- added the new optional 'query' request parameter 'username'

- added the media type 'text/csv' for the response with the status '200'

## POST /api/auth/users/export/csv

- ⚠️ added the new required request property 'user_ids'

- ⚠️ removed the media type 'application/json' for the response with the status '200'

- ⚠️ removed the request property 'email'

- ⚠️ removed the request property 'first_name'

- ⚠️ removed the request property 'last_name'

- ⚠️ removed the request property 'role'

- ⚠️ removed the request property 'username'

- added the media type 'text/csv' for the response with the status '200'

## POST /api/auth/users/import/csv

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

## GET /api/auth/users/{id}/

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

## POST /api/auth/users/{id}/

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

## PUT /api/auth/users/{id}/

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

## POST /api/auth/users/{id}/deactivate

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

## GET /api/auth/users/{id}/newpwd

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

## PUT /api/auth/users/{id}/subscribe-mail

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

## POST /api/auth/users/{id}/{object_type}

- ⚠️ removed the required property 'dark_mode' from the response with the '200' status

You can access the complete API documentation here.

Did this answer your question?