This commit is contained in:
12
README.md
12
README.md
@@ -16,7 +16,7 @@ Generic document management service with S3 storage and PDF field discovery.
|
||||
|
||||
### Upload Document
|
||||
```
|
||||
POST /api/documents/upload
|
||||
POST /api/v1/documents/upload
|
||||
Content-Type: multipart/form-data
|
||||
Authorization: Bearer <token>
|
||||
|
||||
@@ -34,7 +34,7 @@ Response:
|
||||
|
||||
### Rewrite Document
|
||||
```
|
||||
PUT /api/documents/{document_id}
|
||||
PUT /api/v1/documents/{document_id}
|
||||
Content-Type: multipart/form-data
|
||||
Authorization: Bearer <token>
|
||||
|
||||
@@ -52,7 +52,7 @@ Response:
|
||||
|
||||
### Get Document Metadata
|
||||
```
|
||||
GET /api/documents/{document_id}
|
||||
GET /api/v1/documents/{document_id}
|
||||
Authorization: Bearer <token>
|
||||
|
||||
Response:
|
||||
@@ -72,7 +72,7 @@ Response:
|
||||
|
||||
### Get Download URL
|
||||
```
|
||||
GET /api/documents/{document_id}/download-url?expires_in=3600
|
||||
GET /api/v1/documents/{document_id}/download-url?expires_in=3600
|
||||
Authorization: Bearer <token>
|
||||
|
||||
Response:
|
||||
@@ -85,7 +85,7 @@ Response:
|
||||
|
||||
### Get PDF Fields
|
||||
```
|
||||
GET /api/documents/{document_id}/fields
|
||||
GET /api/v1/documents/{document_id}/fields
|
||||
Authorization: Bearer <token>
|
||||
|
||||
Response:
|
||||
@@ -106,7 +106,7 @@ Response:
|
||||
|
||||
### Delete Document
|
||||
```
|
||||
DELETE /api/documents/{document_id}
|
||||
DELETE /api/v1/documents/{document_id}
|
||||
Authorization: Bearer <token>
|
||||
|
||||
Response:
|
||||
|
||||
Reference in New Issue
Block a user