All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
deleteDestinoItem | DELETE /api/destinos/{idDestino} | Removes the Destino resource. |
getDestinoCollection | GET /api/destinos | Retrieves the collection of Destino resources. |
getDestinoItem | GET /api/destinos/{idDestino} | Retrieves a Destino resource. |
patchDestinoItem | PATCH /api/destinos/{idDestino} | Updates the Destino resource. |
postDestinoCollection | POST /api/destinos | Creates a Destino resource. |
putDestinoItem | PUT /api/destinos/{idDestino} | Replaces the Destino resource. |
deleteDestinoItem(idDestino)
Removes the Destino resource.
Removes the Destino resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.DestinoApi();
let idDestino = "idDestino_example"; // String | Resource identifier
apiInstance.deleteDestinoItem(idDestino, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully.");
}
});
Name | Type | Description | Notes |
---|---|---|---|
idDestino | String | Resource identifier |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
InlineResponse2005 getDestinoCollection(opts)
Retrieves the collection of Destino resources.
Retrieves the collection of Destino resources.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.DestinoApi();
let opts = {
page: 1, // Number | The collection page number
};
apiInstance.getDestinoCollection(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
page | Number | The collection page number | [optional] [default to 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/ld+json, application/json, text/html
DestinoJsonld getDestinoItem(idDestino)
Retrieves a Destino resource.
Retrieves a Destino resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.DestinoApi();
let idDestino = "idDestino_example"; // String | Resource identifier
apiInstance.getDestinoItem(idDestino, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
idDestino | String | Resource identifier |
No authorization required
- Content-Type: Not defined
- Accept: application/ld+json, application/json, text/html
DestinoJsonld patchDestinoItem(body, idDestino)
Updates the Destino resource.
Updates the Destino resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.DestinoApi();
let body = new SwaggerJsClient.Destino(); // Destino | The updated Destino resource
let idDestino = "idDestino_example"; // String | Resource identifier
apiInstance.patchDestinoItem(body, idDestino, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | Destino | The updated Destino resource | |
idDestino | String | Resource identifier |
No authorization required
- Content-Type: application/merge-patch+json
- Accept: application/ld+json, application/json, text/html
DestinoJsonld postDestinoCollection(body)
Creates a Destino resource.
Creates a Destino resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.DestinoApi();
let body = new SwaggerJsClient.DestinoJsonld(); // DestinoJsonld | The new Destino resource
apiInstance.postDestinoCollection(body, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | DestinoJsonld | The new Destino resource |
No authorization required
- Content-Type: application/ld+json, application/json, text/html
- Accept: application/ld+json, application/json, text/html
DestinoJsonld putDestinoItem(body, idDestino)
Replaces the Destino resource.
Replaces the Destino resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.DestinoApi();
let body = new SwaggerJsClient.DestinoJsonld(); // DestinoJsonld | The updated Destino resource
let idDestino = "idDestino_example"; // String | Resource identifier
apiInstance.putDestinoItem(body, idDestino, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | DestinoJsonld | The updated Destino resource | |
idDestino | String | Resource identifier |
No authorization required
- Content-Type: application/ld+json, application/json, text/html
- Accept: application/ld+json, application/json, text/html