Sukurti įkėlimą / Create upload

Create a single-use upload for a selected PDF/JPEG/PNG in a permitted month. Prefer this for files above 64 KB. PUT the declared bytes with the returned headers. No Authorization header is needed. Keep the upload URL private. Upload within 10 minutes; maximum 10 MB and 20 open uploads. Uploads are bound to the creating grant, declared bytes, filename and month.

post/api/agent/v1/tools/create_upload

Request

  • Base URL: https://app.taxmeter.lt
  • URL: https://app.taxmeter.lt/api/agent/v1/tools/create_upload
  • Auth: OAuth 2 (authorization code, authorization URL https://app.taxmeter.lt/oauth/authorize, token URL https://app.taxmeter.lt/oauth/token, scopes: prepare)

Request body

periodIdstring required
namestring required
sha256string required
bytesinteger required
expectedRevisioninteger required

Response

Įrankio rezultatas / Tool result

object required

Changes

No recorded changes to this operation across all 1 revision of this API.