ckanaction

package_resource_reorder

Reorder resources against datasets. If only partial resource ids are supplied then these are assumed to be first and the other resources will stay in their original order.

PUT
package_resource_reorder

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

id?string

the id or name of the package to update

order?array<string>

a list of resource ids in the order needed

curl -X PUT "http://localhost:5000/api/3/action/package_resource_reorder" \  -H "Content-Type: application/json" \  -d '{}'