|
| | GetConfigJob (std::string serverUrl, std::string _accessToken) |
| | Get the configuration for the content repository. More...
|
| |
| GetConfigJob | withData (JsonWrap j) && |
| |
| GetConfigJob | withData (JsonWrap j) const & |
| |
| | BaseJob (std::string serverUrl, std::string requestUrl, Method method, std::string jobId, std::string token={}, ReturnType returnType=ReturnType::Json, Body body=EmptyBody{}, Query query={}, Header header={}, std::optional< FileDesc > responseFile=std::nullopt) |
| |
| | ~BaseJob () |
| |
| bool | shouldReturnJson () const |
| |
| std::string | url () const |
| |
| Body | requestBody () const |
| |
| Header | requestHeader () const |
| |
| ReturnType | returnType () const |
| |
| Query | requestQuery () const |
| | returns the non-encoded query as an array of pairs More...
|
| |
| Method | requestMethod () const |
| |
| Response | genResponse (Response r) const |
| |
| BaseJob | withData (JsonWrap j) && |
| |
| BaseJob | withData (JsonWrap j) const & |
| |
| BaseJob | withQueue (std::string id, JobQueuePolicy policy=AlwaysContinue) && |
| |
| BaseJob | withQueue (std::string id, JobQueuePolicy policy=AlwaysContinue) const & |
| |
| json | dataJson (const std::string &key) const |
| |
| std::string | dataStr (const std::string &key) const |
| |
| std::string | jobId () const |
| |
| std::optional< std::string > | queueId () const |
| |
| JobQueuePolicy | queuePolicy () const |
| |
| std::optional< FileDesc > | responseFile () const |
| |
Get the configuration for the content repository.
This endpoint allows clients to retrieve the configuration of the content repository, such as upload limitations. Clients SHOULD use this as a guide when using content repository endpoints. All values are intentionally left optional. Clients SHOULD follow the advice given in the field description when the field is not available.
NOTE: Both clients and server administrators should be aware that proxies between the client and the server may affect the apparent behaviour of content repository APIs, for example, proxies may enforce a lower upload size limit than is advertised by the server on this endpoint.