Update an attachment

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/hivepress/doc/rest-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"HivePress REST API MCP server": {
  "url": "https://bump.sh/hivepress/doc/rest-api/mcp"
}
Close
POST /attachments/{attachment_id}

Path parameters

  • attachment_id integer Required

    Attachment ID.

application/json

Body

  • sort_order integer

    Sort order.

Responses

  • 200
POST /attachments/{attachment_id}
curl \
 --request POST '/wp-json/hivepress/v1/attachments/{attachment_id}' \
 --header "Content-Type: application/json" \
 --data '{"sort_order":42}'
Request examples
{
  "sort_order": 42
}