Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Latest commit

 

History

History
92 lines (61 loc) · 2.59 KB

EnginesApi.md

File metadata and controls

92 lines (61 loc) · 2.59 KB

Autodesk\Forge\Client\EnginesApi

All URIs are relative to https://developer.api.autodesk.com

Method HTTP request Description
getAllEngines GET /autocad.io/us-east/v2/Engines Returns the details of all available AutoCAD core engines.
getEngine GET /autocad.io/us-east/v2/Engines('{id}') Returns the details of a specific AutoCAD core engine.

getAllEngines

\Autodesk\Forge\Client\Model\DesignAutomationEngines getAllEngines()

Returns the details of all available AutoCAD core engines.

Example

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

$apiInstance = new Autodesk\Forge\Client\Api\EnginesApi($authObject);

try {
    $result = $apiInstance->getAllEngines();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EnginesApi->getAllEngines: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\Autodesk\Forge\Client\Model\DesignAutomationEngines

Authorization

oauth2_application

HTTP request headers

  • Content-Type: application/json
  • Accept: application/vnd.api+json, application/json

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

getEngine

\Autodesk\Forge\Client\Model\Engine getEngine($id)

Returns the details of a specific AutoCAD core engine.

Example

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

$apiInstance = new Autodesk\Forge\Client\Api\EnginesApi($authObject);
$id = "id_example"; // string | 

try {
    $result = $apiInstance->getEngine($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EnginesApi->getEngine: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
id string

Return type

\Autodesk\Forge\Client\Model\Engine

Authorization

oauth2_application

HTTP request headers

  • Content-Type: application/json
  • Accept: application/vnd.api+json, application/json

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