Remote Waldur Api
Operations Summary
Core CRUD
Details
Invoices
Orders
Resources
Accounts
Usage
Users
Schedule order pull task
Schedule order pull task
Accounts
Other Actions
Get remote order details
Get remote order details
Get remote resource sync status
Get remote resource sync status
Get remote resource team members
Get remote resource team members
Cancel termination order
Cancel termination order
Create local offering from remote
Create local offering from remote
| http \
POST \
https://api.example.com/api/remote-waldur-api/import_offering/ \
Authorization:"Token YOUR_API_TOKEN" \
api_url="https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
token="********" \
remote_offering_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
local_category_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
local_customer_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
remote_customer_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.remote_offering_create_request import RemoteOfferingCreateRequest # (1)
from waldur_api_client.api.remote_waldur_api import remote_waldur_api_import_offering # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = RemoteOfferingCreateRequest(
api_url="https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
token="********",
remote_offering_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
local_category_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
local_customer_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
remote_customer_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890"
)
response = remote_waldur_api_import_offering.sync(
client=client,
body=body_data
)
print(response)
|
- Model Source:
RemoteOfferingCreateRequest
- API Source:
remote_waldur_api_import_offering
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 | import { remoteWaldurApiImportOffering } from 'waldur-js-client';
try {
const response = await remoteWaldurApiImportOffering({
auth: "Token YOUR_API_TOKEN",
body: {
"api_url": "https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
"token": "********",
"remote_offering_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"local_category_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"local_customer_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"remote_customer_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Field |
Type |
Required |
api_url |
string (uri) |
✓ |
token |
string |
✓ |
remote_offering_uuid |
string (uuid) |
✓ |
local_category_uuid |
string (uuid) |
✓ |
local_customer_uuid |
string (uuid) |
✓ |
remote_customer_uuid |
string (uuid) |
✓ |
200 -
| Field |
Type |
uuid |
string (uuid) |
Data
List remote marketplace categories
List remote marketplace categories
| http \
POST \
https://api.example.com/api/remote-waldur-api/remote_categories/ \
Authorization:"Token YOUR_API_TOKEN" \
api_url="https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
token="********"
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.remote_credentials_request import RemoteCredentialsRequest # (1)
from waldur_api_client.api.remote_waldur_api import remote_waldur_api_remote_categories # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = RemoteCredentialsRequest(
api_url="https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
token="********"
)
response = remote_waldur_api_remote_categories.sync(
client=client,
body=body_data
)
for item in response:
print(item)
|
- Model Source:
RemoteCredentialsRequest
- API Source:
remote_waldur_api_remote_categories
1
2
3
4
5
6
7
8
9
10
11
12
13
14 | import { remoteWaldurApiRemoteCategories } from 'waldur-js-client';
try {
const response = await remoteWaldurApiRemoteCategories({
auth: "Token YOUR_API_TOKEN",
body: {
"api_url": "https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
"token": "********"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Description |
page |
integer |
A page number within the paginated result set. |
page_size |
integer |
Number of results to return per page. |
| Field |
Type |
Required |
api_url |
string (uri) |
✓ |
token |
string |
✓ |
200 -
The response body is an array of objects, where each object has the following structure:
| Field |
Type |
Description |
url |
string (uri) |
|
uuid |
string (uuid) |
|
title |
string |
|
description |
string |
|
icon |
string (uri) |
|
default_vm_category |
boolean |
Set to "true" if this category is for OpenStack VM. Only one category can have "true" value. |
default_volume_category |
boolean |
Set to true if this category is for OpenStack Volume. Only one category can have "true" value. |
default_tenant_category |
boolean |
Set to true if this category is for OpenStack Tenant. Only one category can have "true" value. |
offering_count |
integer |
|
available_offerings_count |
integer |
|
sections |
array of objects |
|
sections.key |
string |
|
sections.title |
string |
|
sections.attributes |
array of objects |
|
sections.attributes.key |
string |
|
sections.attributes.title |
string |
|
sections.attributes.type |
string |
Enum: boolean, string, text, integer, choice, list |
sections.attributes.options |
array of objects |
|
sections.attributes.options.key |
string |
|
sections.attributes.options.title |
string |
|
sections.attributes.required |
boolean |
A value must be provided for the attribute. |
sections.attributes.default |
any |
|
sections.is_standalone |
boolean |
Whether section is rendered as a separate tab. |
columns |
array of objects |
|
columns.uuid |
string (uuid) |
|
columns.index |
integer |
Index allows to reorder columns. |
columns.title |
string |
Title is rendered as column header. |
columns.attribute |
string |
Resource attribute is rendered as table cell. |
columns.widget |
any |
Widget field allows to customise table cell rendering. |
components |
array of objects |
|
components.type |
string |
Unique internal name of the measured unit, for example floating_ip. |
components.name |
string |
Display name for the measured unit, for example, Floating IP. |
components.description |
string |
|
components.measured_unit |
string |
Unit of measurement, for example, GB. |
articles |
array of objects |
|
articles.title |
string |
|
articles.url |
string (uri) |
|
group |
string (uri) |
|
List remote customers owned by current user
List remote customers owned by current user
List remote importable offerings for particular customer
List remote importable offerings for particular customer
Resource
Permissions