Projects tigase _server tigase-pubsub Issues #49
Create adhoc for removal of items (#49)
Closed
Andrzej Wójcik (Tigase) opened 9 years ago

Create adhoc command to allow removal of published items from PubSub node. This feature will allow users to use HTTP API to execute such adhoc command and remove published item using HTTP API.

Andrzej Wójcik (Tigase) commented 9 years ago

Command added.

This command can be executed using HTTP API with following URI:

/rest/pubsub/pubsub.example.com/delete-item

where pubsub.example.com is JID of PubSub component.

This URI needs to be called using POST HTTP method with following content:

<data>
  <node>{node_name}</node>
  <item-id>{id-of-item}</item-id>
</data>

where:

  • {node_name} - needs to be replaced with PubSub node from which we want to remove item

  • {id-of-item} - needs to be replaced with id of item we want to remove

Artur Hefczyc commented 9 years ago

Is documentation on wiki page updated?

Andrzej Wójcik (Tigase) commented 9 years ago

I updated wiki pages with adhoc commands description and added REST examples for execution of this command

issue 1 of 1
Type
Task
Priority
Normal
Assignee
RedmineID
3843
Spent time
2h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-pubsub#49
Please wait...
Page is in error, reload to recover