OKF Index Bases API
The Bases API from OKF Index — 35 operation(s) for bases.
Operations 45
GET
/api/bases/{base_id}/usage
Read your base's search and document-read counts for the last 30 days
#
PUT
/api/bases/{base_id}/documents/{document_id}
Replace your document after reviewing the new text
#
GET
/api/bases/{base_id}/documents/{document_id}/images/{image_sha}
Download a verified image from the document
#
GET
/api/bases/{base_id}/okf/originais/{document_id}.txt
Read the original source linked by the OKF concept
#
GET
/api/bases/{base_id}/okf/originais/{document_id}.pdf
Download the PDF source linked by the OKF concept
#
GET
/api/bases/{base_id}/okf/originais/{document_id}.docx
Download the DOCX source linked by the OKF concept
#
GET
/api/bases/{base_id}/okf/originais/{document_id}.doc
Download the DOC source linked by the OKF concept
#
POST
/api/bases/{base_id}/documents/{document_id}/versions/{version_id}/restore
Restore one retained version as current. Keep all other versions
#
POST
/api/bases/{base_id}/documents/{document_id}/delete
Permanently delete one personal document and all its retained versions.
#
GET
/api/bases/{base_id}/history
Export one page of private document history, including archived versions
#
GET
/api/bases/{base_id}/documents/{document_id}/versions/{version_id}
Read one retained document version. Only the base owner has history access
#
GET
/api/bases/{base_id}/documents/{document_id}/versions/{version_id}/original
Download the original of a retained version
#
GET
/api/bases/{base_id}/documents/{document_id}/versions/{version_id}/markdown
Download the text of a retained version
#
GET
/api/bases/{base_id}/documents/{document_id}/versions/{version_id}/okf
Download this version's OKF concept and source hash
#
GET
/api/bases/{base_id}/documents/{document_id}/versions/{version_id}/conversion
Export the saved manifest, quote and processing result for a retained converted…
#
GET
/api/bases/{base_id}/documents/{document_id}/versions/{version_id}/images/{image_sha}
Download a verified image from a retained version
#
POST
/api/bases/{base_id}/conversions/{conversion_id}/authorize
Authorize the quoted price and queue conversion
#