Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.33 KB

JobApi.md

File metadata and controls

56 lines (39 loc) · 1.33 KB

ApiV1.JobApi

All URIs are relative to https://menadevs.com/api/v1/

Method HTTP request Description
apiV1JobsIdGet GET /api/v1/jobs/{id} Retrieves a job

apiV1JobsIdGet

Jobs apiV1JobsIdGet(id)

Retrieves a job

Example

import ApiV1 from 'api_v1';
let defaultClient = ApiV1.ApiClient.instance;

// Configure API key authorization: Bearer
let Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';

let apiInstance = new ApiV1.JobApi();
let id = "id_example"; // String | ID of a job that you wish to retrieve

apiInstance.apiV1JobsIdGet(id, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
id String ID of a job that you wish to retrieve

Return type

Jobs

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json