REST API-How to create new tag?

in Download Manager Free

Viewing 6 posts - 1 through 6 (of 6 total)
Aug 29, 2023 at 4:41 am
#189641
Participant
Steven Weng
OP

Hi,
My payload as following:
{ “name”: “add-on”,
“slug”: “add-on”,
“description”: “”
}
but I got status 400.
The response as following:
{
“code”: “rest_empty_tag_term”,
“message”: “Must provide tag name.”,
“data”: {
“status”: 400
}
}
Please help.
Thanks.

Aug 29, 2023 at 1:52 pm
#189655
Spectator
Humayon

Hello Steven,

Thank you for writing to us.

Regarding the Tags have you followed our documentation: https://imsas.github.io/wpdm-rest-api-docs/#get-all-tags appropriately?

Regards

Aug 29, 2023 at 10:02 pm
#189667
Participant
Steven Weng
OP
This reply has been marked as private.
Aug 30, 2023 at 5:00 am
#189671
Spectator
Humayon

Hello Steven,

Thank you for your response.

Can you please try one more time after following our documentation regarding the Tag creation here: https://imsas.github.io/wpdm-rest-api-docs/#create-a-tag

I hope it will work.

Regards

Aug 30, 2023 at 5:32 am
#189673
Participant
Steven Weng
OP
This reply has been marked as private.
Aug 30, 2023 at 8:13 am
#189676
Spectator
Humayon

Hello there,

I will forward your thoughts to our related team and hopefully, they will adjust the doc accordingly.

Regards

Viewing 6 posts - 1 through 6 (of 6 total)

The topic "REST API-How to create new tag?" is closed to new replies.