NAME
Graphql
FUNCTIONS
- new($api)
-
Create a new object for accessing GraphQL API
Parameters
$api
API object
- set_org_uid_header
-
Configure X-Upwork-API-TenantId header
Parameters
$tenant_id
Organization UID
Return value
void
- execute
-
Execute GraphQL request
Return value
JSON response as a string
AUTHOR
Maksym Novozhylov <mnovozhilov@upwork.com>
COPYRIGHT
Copyright © Upwork Global Corp., 2021