Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

SwaggerClient-php

No description provided for this web service.

This PHP package is automatically generated by the Swagger Codegen project:

  • API version: 2.0
  • Package version:
  • Build date: 2016-06-06T00:19:04.646Z
  • Build package: class io.swagger.codegen.languages.PhpClientCodegen

Requirements

PHP 5.4.0 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com//.git"
    }
  ],
  "require": {
    "/": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/SwaggerClient-php/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit lib/Tests

Getting Started

Please follow the installation procedure and then run the following:

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

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$job_id = "job_id_example"; // string | job id

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

?>

Documentation for API Endpoints

All URIs are relative to https://ussouthcentral.services.azureml.net:443/workspaces/2c40c42df0bd4415a35ff34f6ccb1cf9/services/c81476b3a73d4ac79bc0dbe06b52f02b

Class Method HTTP request Description
DefaultApi canceljob DELETE /jobs/{jobId}?api-version=2.0 Cancel a job
DefaultApi execute POST /execute?api-version=2.0&format=swagger Execute the web service and get a response synchronously
DefaultApi getSwaggerDocument GET /swagger.json Get swagger API document for the web service
DefaultApi getjobstatus GET /jobs/{jobId}?api-version=2.0 Get the status for a give job
DefaultApi startjob POST /jobs/{jobId}/start?api-version=2.0 Start running a job
DefaultApi submitjob POST /jobs?api-version=2.0 Submit an asynchronous job to execute the web service

Documentation For Models

Documentation For Authorization

api_key

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author