All URIs are relative to https://tweek-authoring/api/
Method | HTTP request | Description |
---|---|---|
addIdentity | POST /schemas/{identityType} | |
deleteIdentity | DELETE /schemas/{identityType} | |
listSchemas | GET /schemas | |
patchIdentity | PATCH /schemas/{identityType} |
string addIdentity($identity_type, $author_name, $author_email, $value)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\SchemaApi();
$identity_type = "identity_type_example"; // string |
$author_name = "author_name_example"; // string |
$author_email = "author_email_example"; // string |
$value = new \Swagger\Client\Model\JsonValue(); // \Swagger\Client\Model\JsonValue |
try {
$result = $api_instance->addIdentity($identity_type, $author_name, $author_email, $value);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SchemaApi->addIdentity: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
identity_type | string | ||
author_name | string | ||
author_email | string | ||
value | \Swagger\Client\Model\JsonValue |
string
No authorization required
- Content-Type: application/json
- Accept: text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string deleteIdentity($identity_type, $author_name, $author_email)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\SchemaApi();
$identity_type = "identity_type_example"; // string |
$author_name = "author_name_example"; // string |
$author_email = "author_email_example"; // string |
try {
$result = $api_instance->deleteIdentity($identity_type, $author_name, $author_email);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SchemaApi->deleteIdentity: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
identity_type | string | ||
author_name | string | ||
author_email | string |
string
No authorization required
- Content-Type: application/json
- Accept: text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object[] listSchemas()
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\SchemaApi();
try {
$result = $api_instance->listSchemas();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SchemaApi->listSchemas: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
object[]
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string patchIdentity($identity_type, $author_name, $author_email, $patch)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\SchemaApi();
$identity_type = "identity_type_example"; // string |
$author_name = "author_name_example"; // string |
$author_email = "author_email_example"; // string |
$patch = new \Swagger\Client\Model\JsonValue(); // \Swagger\Client\Model\JsonValue |
try {
$result = $api_instance->patchIdentity($identity_type, $author_name, $author_email, $patch);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SchemaApi->patchIdentity: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
identity_type | string | ||
author_name | string | ||
author_email | string | ||
patch | \Swagger\Client\Model\JsonValue |
string
No authorization required
- Content-Type: application/json
- Accept: text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]