Marketplace Category Columns
Operations Summary
List category columns
Returns a paginated list of category columns used for resource table rendering.
Retrieve a category column
Returns details of a specific category column.
Create a category column
Creates a new category column. Requires staff permissions.
Update a category column
Updates an existing category column. Requires staff permissions.
| http \
PUT \
https://api.example.com/api/marketplace-category-columns/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
Authorization:"Token YOUR_API_TOKEN" \
index=123 \
title="string-value" \
category="https://api.example.com/api/category/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 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.category_column_request import CategoryColumnRequest # (1)
from waldur_api_client.api.marketplace_category_columns import marketplace_category_columns_update # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = CategoryColumnRequest(
index=123,
title="string-value",
category="https://api.example.com/api/category/a1b2c3d4-e5f6-7890-abcd-ef1234567890/"
)
response = marketplace_category_columns_update.sync(
uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
client=client,
body=body_data
)
print(response)
|
- Model Source:
CategoryColumnRequest
- API Source:
marketplace_category_columns_update
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 | import { marketplaceCategoryColumnsUpdate } from 'waldur-js-client';
try {
const response = await marketplaceCategoryColumnsUpdate({
auth: "Token YOUR_API_TOKEN",
path: {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
body: {
"index": 123,
"title": "string-value",
"category": "https://api.example.com/api/category/a1b2c3d4-e5f6-7890-abcd-ef1234567890/"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Required |
uuid |
string (uuid) |
✓ |
| Field |
Type |
Required |
Description |
index |
integer |
✓ |
Index allows to reorder columns. |
title |
string |
✓ |
Title is rendered as column header. |
attribute |
string |
|
Resource attribute is rendered as table cell. |
widget |
any |
|
Widget field allows to customise table cell rendering. |
category |
string (uri) |
✓ |
|
200 -
| Field |
Type |
Description |
uuid |
string (uuid) |
|
index |
integer |
Index allows to reorder columns. |
title |
string |
Title is rendered as column header. |
attribute |
string |
Resource attribute is rendered as table cell. |
widget |
any |
Widget field allows to customise table cell rendering. |
category |
string (uri) |
|
Partially update a category column
Partially updates an existing category column. Requires staff permissions.
Delete a category column
Deletes a category column. Requires staff permissions.