Storage

Catalog


POST Authorize Upload icon

Request path:

https://staging.server.kahla.app/Storage/UploadIcon

Request content type:

multipart/form-data

Form content example:

 

Request form:

Name Required Type
File Required File

Possible Response:

{
  "filePath": "an example string.",
  "code": 0,
  "message": "an example string."
}

Possible Response:

{
  "code": -1,
  "message": "Some error."
}

Possible Response:

{
  "items": [
    "Some item is invalid!"
  ],
  "code": -10,
  "message": "Your input contains several errors!"
}

POST Authorize Upload file

Request path:

https://staging.server.kahla.app/Storage/UploadFile

Request content type:

multipart/form-data

Form content example:

ConversationId=0 

Request form:

Name Required Type
ConversationId Required Number
File Required File

Possible Response:

{
  "filePath": "an example string.",
  "fileSize": 0,
  "code": 0,
  "message": "an example string."
}

Possible Response:

{
  "code": -1,
  "message": "Some error."
}

Possible Response:

{
  "items": [
    "Some item is invalid!"
  ],
  "code": -10,
  "message": "Your input contains several errors!"
}