× Here you can get community support related to ReDJ.

Tags plugin doesn't seem to work

  • severdia
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #7088 by severdia
Tags plugin doesn't seem to work was created by severdia
Hi,

I'm trying to use the tags plugin to both GET and PUT from a Joomla tag. When I use GET, like this:
<end-point>?action=get&module=tags&resource=tags

Instead of a list of tags, I get the following:
{
    "status": "ok",
    "total": 10,
    "page": 3,
    "limit": 4,
    "tags": [
        {
            "id": 9,
            "title": "Item number 9",
            "description": "This is a item 9 description"
        },
        {
            "id": 10,
            "title": "Item number 10",
            "description": "This is a item 10 description"
        }
    ]
}

I don't have any tags which match that info. When I try a PUT with this:
<end-point>?action=put&module=tags&resource=tags&id=2

I get this:
{
    "status": "ok",
    "message": "Item updated"
}

But the tag with that ID is not updated. The same with DELETE when I try tot delete that tag. The response is OK, but no change is made.

Help!

Please Log in or Create an account to join the conversation.

Time to create page: 0.132 seconds