Skip to main content
POST
Revisions

Request contract

  • Method and path: POST /apis/v1/stackexchange-com/questions/revisions
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/stackexchange-com/questions/revisions
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
post_id
number
required

post_id

include_body
boolean

include_body

key
string

Optional Stack Exchange application key. Raises the per-IP quota from 300 to 10,000 requests per day and unlocks pages above 25, which the API refuses anonymously. Keys are public identifiers, not secrets.

page
number
default:1

Pages above 25 need key: Stack Exchange serves deeper pages only with an application key (access_denied otherwise). Without one the last page reports partial coverage.

Provider reference: minimum 1; maximum 10000; default 1.

pagesize
number
default:30

pagesize

Provider reference: minimum 1; maximum 100; default 30.

revision_guid
string

One revision by its GUID, as in /revisions//view-source links. Pattern: ^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$.

site
string
default:stackoverflow

Stack Exchange site API parameter, e.g. stackoverflow, superuser, math, askubuntu, english, physics. Use sites to list them. Pattern: ^[a-z0-9]+(.[a-z0-9]+)*$.

Provider reference: default "stackoverflow".

url
string

A pasted revision history URL (/posts//revisions), revision source URL (/revisions//view-source) or revision page URL (/revisions/<post_id>/, returns the whole history) on any Stack Exchange site. The site is derived from the host; an explicit site must match it.

Response

Edit history of one question or answer by post_id or URL, newest first, or one revision by revision_guid. Each revision carries what changed (title, tags, body HTML), the editor, the edit comment and its public revision page.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.