Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.61 KB

StubApi.md

File metadata and controls

57 lines (38 loc) · 1.61 KB

Swagger\Client\StubApi

All URIs are relative to https://localhost/api

Method HTTP request Description
updateJob PATCH /jobs/{job_id} Change job data without changing board selection

updateJob

updateJob($job_id)

Change job data without changing board selection

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure HTTP basic authorization: http_basic
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Swagger\Client\Api\StubApi();
$job_id = 789; // int | Job ID

try {
    $api_instance->updateJob($job_id);
} catch (Exception $e) {
    echo 'Exception when calling StubApi->updateJob: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
job_id int Job ID

Return type

void (empty response body)

Authorization

oauth, http_basic

HTTP request headers

  • Content-Type: application/json, text/xml
  • Accept: application/json, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]