fs-review-tk-7003-rename-get-post-api.tallykhata.cloud Open in urlscan Pro
103.191.179.148  Public Scan

Submitted URL: https://fs-review-tk-7003-rename-get-post-api.tallykhata.cloud/
Effective URL: https://fs-review-tk-7003-rename-get-post-api.tallykhata.cloud/docs
Submission: On November 27 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

ReDoc requires Javascript to function. Please enable it to browse the
documentation.
 * Healthchecks
   * getReadiness probe
   * getLiveness probe
 * getGet Object
 * postUpload Object V2

API docs by Redocly





FILE SERVICE (1.0)

Download OpenAPI specification:Download




API endpoints for uploading and serving files/images efficiently. Supports MinIO
and S3 based object storage and serving capabilities.


HEALTHCHECKS


READINESS PROBE


RESPONSES

200

Successful Response

get/health/readiness
https://fs-review-tk-7003-rename-get-post-api.tallykhata.cloud/health/readiness


RESPONSE SAMPLES

 * 200

Content type
application/json
Copy
Expand all Collapse all
{
 * "healthy": true,
 * "checks": [
    * {
       * "name": "string",
       * "passed": true,
       * "details": "string"
      
      }
   
   ]

}


LIVENESS PROBE


RESPONSES

200

Successful Response

get/health/liveness
https://fs-review-tk-7003-rename-get-post-api.tallykhata.cloud/health/liveness


RESPONSE SAMPLES

 * 200

Content type
application/json
Copy
Expand all Collapse all
{
 * "healthy": true,
 * "checks": [
    * {
       * "name": "string",
       * "passed": true,
       * "details": "string"
      
      }
   
   ]

}


GET OBJECT

AUTHORIZATIONS:

OAuth2PasswordBearer

PATH PARAMETERS

object_name
required
string (Object Name)


QUERY PARAMETERS

height
integer (Height)

width
integer (Width)



RESPONSES

200

Successful Response

422

Validation Error

get/api/v1/files/{object_name}
https://fs-review-tk-7003-rename-get-post-api.tallykhata.cloud/api/v1/files/{object_name}


RESPONSE SAMPLES

 * 200
 * 422

Content type
application/json
Copy
null



UPLOAD OBJECT V2

At least one object is needed to upload. For every object there should be a
sub_dir. You can upload as many objects as you want under different key names.

AUTHORIZATIONS:

OAuth2PasswordBearer

QUERY PARAMETERS

f1
file

Name 'f1' is user dependent. This has to be a File object.

f1_sub_dir
string

This is an optional field. In this sub directory, this file will be saved. If
you want to use then you must follow this format like 'sub_dir'. If the value
starts with public it will be stored on cloud and generate a CDN link. The value
should be less than and equal to 255 length string and can contain '/',
'a-zA-Z', '0-9', '' these characters only. Ex- '/dir1/dir2'. To get CDN link the
sub_dir should start with public/

f2
file

Name 'f2' is user dependent. This has to be a File object.

f2_sub_dir
string

This is an optional field. In this sub directory, this file will be saved. If
you want to use then you must follow this format like 'sub_dir'. If the value
starts with public it will be stored on cloud and generate a CDN link. The value
should be less than and equal to 255 length string and can contain '/',
'a-zA-Z', '0-9', '' these characters only. Ex- '/dir1/dir2'. To get CDN link the
sub_dir should start with public/


RESPONSES

201
400
post/api/v1/files
https://fs-review-tk-7003-rename-get-post-api.tallykhata.cloud/api/v1/files


RESPONSE SAMPLES

 * 201
 * 400

Content type
application/json
Copy
{
 * "f1": "717308ab854846249fd7df26b61b96e6.jpg",
 * "f3": "14877572e0ba477ca05233dd4465076b.webp",
 * "f1_cdn":
   "https://d3phy3nyz9yq10.cloudfront.net/public/717308ab854846249fd7df26b61b96e6.jpg"

}