Median

POST /tools/sync

Updated Oct 1, 20261 minute read

Sync tool endpoints

Re-reads every endpoint's manifest now, so a tool that just deployed shows up without waiting for the route to be opened. The reads happen after this answers.

Part of Tool approvals.

Responses

StatusDescription
200How many endpoints were asked.
401The bearer token is missing, revoked, or expired.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
endpointsintegerNo

Example request

curl -X POST https://api.median.sh/v1/tools/sync \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc