Skip to content

Adding Tags to number through PATCH request does not add tags #39

@RickWinters

Description

@RickWinters

When adding tags through the API with a PATCH request on /api/plugins/phonebox/numbers/{id}, the API response will show the correct tags but looking in the history on Netbox there are no tags added. They will also not be visible in the netbox UI.
As you can see in this URL the PATCH request body only contains "{tags: [40, 41]}". These are 2 ID's of existing tags (/api/extras/tags/)
The Response does show the complete Tag object.
I blurred out any personal information such as the start of the URL, Usernames and Phonenumbers for privacy reasons
image

The netbox UI for changelogs only shows an update on the 'Created' field, only changing the datetime format.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions