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

#1573, add update action for CDR API resource #1574

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

Ivanov-Anton
Copy link
Collaborator

@Ivanov-Anton Ivanov-Anton commented Oct 8, 2024

Description

allow to update the "metadata" field only for CDR API resource

example:

PATCH /api/rest/admin/cdr/cdrs/:id

{
    "data": {
        "type": "cdrs",
        "id": 852,
        "attributes": {
            "metadata": "sdad"
        }
    }
}

@Ivanov-Anton Ivanov-Anton linked an issue Oct 8, 2024 that may be closed by this pull request
@Ivanov-Anton Ivanov-Anton self-assigned this Oct 8, 2024
@Ivanov-Anton Ivanov-Anton changed the title #1573, Admin API: add update action for CDR API resource #1573, add update action for CDR API resource Oct 8, 2024
@Ivanov-Anton Ivanov-Anton force-pushed the 1573-admin-api-cdr-metadata-update branch from 799d3b5 to 860b70c Compare October 8, 2024 06:54
allow to update the "metadata" field only for CDR API resource

example:

PATCH /api/rest/admin/cdr/cdrs/:id

```json
{
    "data": {
        "type": "cdrs",
        "id": 852,
        "attributes": {
            "metadata": "sdad"
        }
    }
}
```
@Ivanov-Anton Ivanov-Anton force-pushed the 1573-admin-api-cdr-metadata-update branch from 860b70c to 5d9cf5b Compare October 8, 2024 07:11
@Ivanov-Anton Ivanov-Anton added Waiting for code review It means that the owner or member of the repositor can do a code review. Admin API tasks related to /api/rest/admin API labels Oct 8, 2024
@dmitry-sinina dmitry-sinina merged commit 3cfb692 into master Oct 8, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin API tasks related to /api/rest/admin API Waiting for code review It means that the owner or member of the repositor can do a code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Admin API CDR metadata update
2 participants