All URIs are relative to https://esi.tech.ccp.is/latest
Method | HTTP request | Description |
---|---|---|
deleteFleetsFleetIdMembersMemberId | DELETE /fleets/{fleet_id}/members/{member_id}/ | Kick fleet member |
deleteFleetsFleetIdSquadsSquadId | DELETE /fleets/{fleet_id}/squads/{squad_id}/ | Delete fleet squad |
deleteFleetsFleetIdWingsWingId | DELETE /fleets/{fleet_id}/wings/{wing_id}/ | Delete fleet wing |
getFleetsFleetId | GET /fleets/{fleet_id}/ | Get fleet information |
getFleetsFleetIdMembers | GET /fleets/{fleet_id}/members/ | Get fleet members |
getFleetsFleetIdWings | GET /fleets/{fleet_id}/wings/ | Get fleet wings |
postFleetsFleetIdMembers | POST /fleets/{fleet_id}/members/ | Create fleet invitation |
postFleetsFleetIdWings | POST /fleets/{fleet_id}/wings/ | Create fleet wing |
postFleetsFleetIdWingsWingIdSquads | POST /fleets/{fleet_id}/wings/{wing_id}/squads/ | Create fleet squad |
putFleetsFleetId | PUT /fleets/{fleet_id}/ | Update fleet |
putFleetsFleetIdMembersMemberId | PUT /fleets/{fleet_id}/members/{member_id}/ | Move fleet member |
putFleetsFleetIdSquadsSquadId | PUT /fleets/{fleet_id}/squads/{squad_id}/ | Rename fleet squad |
putFleetsFleetIdWingsWingId | PUT /fleets/{fleet_id}/wings/{wing_id}/ | Rename fleet wing |
deleteFleetsFleetIdMembersMemberId($fleet_id, $member_id, $datasource, $token, $user_agent, $x_user_agent)
Kick fleet member
Kick a fleet member --- Alternate route: /v1/fleets/{fleet_id}/members/{member_id}/
Alternate route: /legacy/fleets/{fleet_id}/members/{member_id}/
Alternate route: /dev/fleets/{fleet_id}/members/{member_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$member_id = 56; // int | The character ID of a member in this fleet
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->deleteFleetsFleetIdMembersMemberId($fleet_id, $member_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->deleteFleetsFleetIdMembersMemberId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
member_id | int | The character ID of a member in this fleet | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteFleetsFleetIdSquadsSquadId($fleet_id, $squad_id, $datasource, $token, $user_agent, $x_user_agent)
Delete fleet squad
Delete a fleet squad, only empty squads can be deleted --- Alternate route: /v1/fleets/{fleet_id}/squads/{squad_id}/
Alternate route: /legacy/fleets/{fleet_id}/squads/{squad_id}/
Alternate route: /dev/fleets/{fleet_id}/squads/{squad_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$squad_id = 789; // int | The squad to delete
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->deleteFleetsFleetIdSquadsSquadId($fleet_id, $squad_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->deleteFleetsFleetIdSquadsSquadId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
squad_id | int | The squad to delete | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteFleetsFleetIdWingsWingId($fleet_id, $wing_id, $datasource, $token, $user_agent, $x_user_agent)
Delete fleet wing
Delete a fleet wing, only empty wings can be deleted. The wing may contain squads, but the squads must be empty --- Alternate route: /v1/fleets/{fleet_id}/wings/{wing_id}/
Alternate route: /legacy/fleets/{fleet_id}/wings/{wing_id}/
Alternate route: /dev/fleets/{fleet_id}/wings/{wing_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$wing_id = 789; // int | The wing to delete
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->deleteFleetsFleetIdWingsWingId($fleet_id, $wing_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->deleteFleetsFleetIdWingsWingId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
wing_id | int | The wing to delete | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetFleetsFleetIdOk getFleetsFleetId($fleet_id, $datasource, $token, $user_agent, $x_user_agent)
Get fleet information
Return details about a fleet --- Alternate route: /v1/fleets/{fleet_id}/
Alternate route: /legacy/fleets/{fleet_id}/
Alternate route: /dev/fleets/{fleet_id}/
--- This route is cached for up to 5 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->getFleetsFleetId($fleet_id, $datasource, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->getFleetsFleetId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\GetFleetsFleetIdOk
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetFleetsFleetIdMembers200Ok[] getFleetsFleetIdMembers($fleet_id, $datasource, $language, $token, $user_agent, $x_user_agent)
Get fleet members
Return information about fleet members --- Alternate route: /v1/fleets/{fleet_id}/members/
Alternate route: /legacy/fleets/{fleet_id}/members/
Alternate route: /dev/fleets/{fleet_id}/members/
--- This route is cached for up to 5 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$datasource = "tranquility"; // string | The server name you would like data from
$language = "en-us"; // string | Language to use in the response
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->getFleetsFleetIdMembers($fleet_id, $datasource, $language, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->getFleetsFleetIdMembers: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
language | string | Language to use in the response | [optional] [default to en-us] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\GetFleetsFleetIdMembers200Ok[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetFleetsFleetIdWings200Ok[] getFleetsFleetIdWings($fleet_id, $datasource, $language, $token, $user_agent, $x_user_agent)
Get fleet wings
Return information about wings in a fleet --- Alternate route: /v1/fleets/{fleet_id}/wings/
Alternate route: /legacy/fleets/{fleet_id}/wings/
Alternate route: /dev/fleets/{fleet_id}/wings/
--- This route is cached for up to 5 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$datasource = "tranquility"; // string | The server name you would like data from
$language = "en-us"; // string | Language to use in the response
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->getFleetsFleetIdWings($fleet_id, $datasource, $language, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->getFleetsFleetIdWings: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
language | string | Language to use in the response | [optional] [default to en-us] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\GetFleetsFleetIdWings200Ok[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postFleetsFleetIdMembers($fleet_id, $invitation, $datasource, $token, $user_agent, $x_user_agent)
Create fleet invitation
Invite a character into the fleet, if a character has a CSPA charge set, it is not possible to invite them to the fleet using ESI --- Alternate route: /v1/fleets/{fleet_id}/members/
Alternate route: /legacy/fleets/{fleet_id}/members/
Alternate route: /dev/fleets/{fleet_id}/members/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$invitation = new \Swagger\Client\Model\PostFleetsFleetIdMembersInvitation(); // \Swagger\Client\Model\PostFleetsFleetIdMembersInvitation | Details of the invitation
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->postFleetsFleetIdMembers($fleet_id, $invitation, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->postFleetsFleetIdMembers: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
invitation | \Swagger\Client\Model\PostFleetsFleetIdMembersInvitation | Details of the invitation | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\PostFleetsFleetIdWingsCreated postFleetsFleetIdWings($fleet_id, $datasource, $token, $user_agent, $x_user_agent)
Create fleet wing
Create a new wing in a fleet --- Alternate route: /v1/fleets/{fleet_id}/wings/
Alternate route: /legacy/fleets/{fleet_id}/wings/
Alternate route: /dev/fleets/{fleet_id}/wings/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->postFleetsFleetIdWings($fleet_id, $datasource, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->postFleetsFleetIdWings: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\PostFleetsFleetIdWingsCreated
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\PostFleetsFleetIdWingsWingIdSquadsCreated postFleetsFleetIdWingsWingIdSquads($fleet_id, $wing_id, $datasource, $token, $user_agent, $x_user_agent)
Create fleet squad
Create a new squad in a fleet --- Alternate route: /v1/fleets/{fleet_id}/wings/{wing_id}/squads/
Alternate route: /legacy/fleets/{fleet_id}/wings/{wing_id}/squads/
Alternate route: /dev/fleets/{fleet_id}/wings/{wing_id}/squads/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$wing_id = 789; // int | The wing_id to create squad in
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->postFleetsFleetIdWingsWingIdSquads($fleet_id, $wing_id, $datasource, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->postFleetsFleetIdWingsWingIdSquads: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
wing_id | int | The wing_id to create squad in | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\PostFleetsFleetIdWingsWingIdSquadsCreated
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putFleetsFleetId($fleet_id, $new_settings, $datasource, $token, $user_agent, $x_user_agent)
Update fleet
Update settings about a fleet --- Alternate route: /v1/fleets/{fleet_id}/
Alternate route: /legacy/fleets/{fleet_id}/
Alternate route: /dev/fleets/{fleet_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$new_settings = new \Swagger\Client\Model\PutFleetsFleetIdNewSettings(); // \Swagger\Client\Model\PutFleetsFleetIdNewSettings | What to update for this fleet
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->putFleetsFleetId($fleet_id, $new_settings, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->putFleetsFleetId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
new_settings | \Swagger\Client\Model\PutFleetsFleetIdNewSettings | What to update for this fleet | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putFleetsFleetIdMembersMemberId($fleet_id, $member_id, $movement, $datasource, $token, $user_agent, $x_user_agent)
Move fleet member
Move a fleet member around --- Alternate route: /v1/fleets/{fleet_id}/members/{member_id}/
Alternate route: /legacy/fleets/{fleet_id}/members/{member_id}/
Alternate route: /dev/fleets/{fleet_id}/members/{member_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$member_id = 56; // int | The character ID of a member in this fleet
$movement = new \Swagger\Client\Model\PutFleetsFleetIdMembersMemberIdMovement(); // \Swagger\Client\Model\PutFleetsFleetIdMembersMemberIdMovement | Details of the invitation
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->putFleetsFleetIdMembersMemberId($fleet_id, $member_id, $movement, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->putFleetsFleetIdMembersMemberId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
member_id | int | The character ID of a member in this fleet | |
movement | \Swagger\Client\Model\PutFleetsFleetIdMembersMemberIdMovement | Details of the invitation | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putFleetsFleetIdSquadsSquadId($fleet_id, $naming, $squad_id, $datasource, $token, $user_agent, $x_user_agent)
Rename fleet squad
Rename a fleet squad --- Alternate route: /v1/fleets/{fleet_id}/squads/{squad_id}/
Alternate route: /legacy/fleets/{fleet_id}/squads/{squad_id}/
Alternate route: /dev/fleets/{fleet_id}/squads/{squad_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$naming = new \Swagger\Client\Model\PutFleetsFleetIdSquadsSquadIdNaming(); // \Swagger\Client\Model\PutFleetsFleetIdSquadsSquadIdNaming | New name of the squad
$squad_id = 789; // int | The squad to rename
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->putFleetsFleetIdSquadsSquadId($fleet_id, $naming, $squad_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->putFleetsFleetIdSquadsSquadId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
naming | \Swagger\Client\Model\PutFleetsFleetIdSquadsSquadIdNaming | New name of the squad | |
squad_id | int | The squad to rename | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putFleetsFleetIdWingsWingId($fleet_id, $naming, $wing_id, $datasource, $token, $user_agent, $x_user_agent)
Rename fleet wing
Rename a fleet wing --- Alternate route: /v1/fleets/{fleet_id}/wings/{wing_id}/
Alternate route: /legacy/fleets/{fleet_id}/wings/{wing_id}/
Alternate route: /dev/fleets/{fleet_id}/wings/{wing_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\FleetsApi(new \Http\Adapter\Guzzle6\Client());
$fleet_id = 789; // int | ID for a fleet
$naming = new \Swagger\Client\Model\PutFleetsFleetIdWingsWingIdNaming(); // \Swagger\Client\Model\PutFleetsFleetIdWingsWingIdNaming | New name of the wing
$wing_id = 789; // int | The wing to rename
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->putFleetsFleetIdWingsWingId($fleet_id, $naming, $wing_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling FleetsApi->putFleetsFleetIdWingsWingId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fleet_id | int | ID for a fleet | |
naming | \Swagger\Client\Model\PutFleetsFleetIdWingsWingIdNaming | New name of the wing | |
wing_id | int | The wing to rename | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]