24 #include "dxjson/dxjson.h" 29 #elif defined(__GNUC__) 30 # define UNUSED(x) UNUSED_ ## x __attribute__((unused)) 31 #elif defined(__LCLINT__) 39 std::string& APISERVER_HOST();
40 std::string& APISERVER_PORT();
41 std::string& APISERVER_PROTOCOL();
42 JSON& SECURITY_CONTEXT();
43 std::string& JOB_ID();
44 std::string& WORKSPACE_ID();
45 std::string& PROJECT_CONTEXT_ID();
52 std::string APISERVER();
58 std::string& CURRENT_PROJECT();
59 const std::string& API_VERSION();
73 dx::JSON DXHTTPRequest(
const std::string &resource,
const std::string &data,
const bool safeToRetry =
false,
74 const std::map<std::string, std::string> &headers = std::map<std::string, std::string>());
85 dx::JSON updateNonce(
const dx::JSON &input_params);
Automatically generated API method wrappers.
bool loadFromEnvironment()
Definition: dxcpp.cc:451
An executable object that can be published for others to discover.
Definition: api.cc:7
Useful utilities for interfacing with app(let)'s execution environment.
Data objects and related functions.