|
libkazv
|
#include <content-repo.hpp>


Public Member Functions | |
| JobResponse (Response r) | |
| bool | success () const |
| std::optional< std::int_fast64_t > | uploadSize () const |
| The maximum size an upload can be in bytes. More... | |
Public Member Functions inherited from Kazv::Response | |
| std::string | errorCode () const |
| std::string | errorMessage () const |
| JsonWrap | jsonBody () const |
| constexpr bool | success () const |
| json | dataJson (const std::string &key) const |
| std::string | dataStr (const std::string &key) const |
| std::string | jobId () const |
Additional Inherited Members | |
Public Types inherited from Kazv::Response | |
| using | StatusCode = int |
Public Attributes inherited from Kazv::Response | |
| StatusCode | statusCode |
| Body | body |
| Header | header |
| JsonWrap | extraData |
| Kazv::Api::GetConfigJob::JobResponse::JobResponse | ( | Response | r | ) |
| bool Kazv::Api::GetConfigResponse::success | ( | ) | const |
| std::optional< std::int_fast64_t > Kazv::Api::GetConfigResponse::uploadSize | ( | ) | const |
The maximum size an upload can be in bytes.
Clients SHOULD use this as a guide when uploading content. If not listed or null, the size limit should be treated as unknown.