Marketplace Software Catalogs
Operations Summary
List software catalogs
Returns a paginated list of available software catalogs, such as EESSI or Spack.
Retrieve a software catalog
Returns the details of a specific software catalog, including its name, version, and the number of packages it contains.
Create a software catalog
Creates a new software catalog. Requires staff permissions.
| http \
POST \
https://api.example.com/api/marketplace-software-catalogs/ \
Authorization:"Token YOUR_API_TOKEN" \
name="my-awesome-marketplace-software-catalog" \
version="string-value"
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.software_catalog_request import SoftwareCatalogRequest # (1)
from waldur_api_client.api.marketplace_software_catalogs import marketplace_software_catalogs_create # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = SoftwareCatalogRequest(
name="my-awesome-marketplace-software-catalog",
version="string-value"
)
response = marketplace_software_catalogs_create.sync(
client=client,
body=body_data
)
print(response)
|
- Model Source:
SoftwareCatalogRequest
- API Source:
marketplace_software_catalogs_create
1
2
3
4
5
6
7
8
9
10
11
12
13
14 | import { marketplaceSoftwareCatalogsCreate } from 'waldur-js-client';
try {
const response = await marketplaceSoftwareCatalogsCreate({
auth: "Token YOUR_API_TOKEN",
body: {
"name": "my-awesome-marketplace-software-catalog",
"version": "string-value"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Field |
Type |
Required |
Description |
name |
string |
✓ |
Catalog name (e.g., EESSI) |
version |
string |
✓ |
Catalog version (e.g., 2023.06) |
source_url |
string (uri) |
|
Catalog source URL |
description |
string |
|
|
201 -
| Field |
Type |
Description |
url |
string (uri) |
|
uuid |
string (uuid) |
|
created |
string (date-time) |
|
modified |
string (date-time) |
|
name |
string |
Catalog name (e.g., EESSI) |
version |
string |
Catalog version (e.g., 2023.06) |
source_url |
string (uri) |
Catalog source URL |
description |
string |
|
package_count |
integer |
|
Update a software catalog
Updates an existing software catalog. Requires staff permissions.
| http \
PUT \
https://api.example.com/api/marketplace-software-catalogs/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
Authorization:"Token YOUR_API_TOKEN" \
name="my-awesome-marketplace-software-catalog" \
version="string-value"
|
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.software_catalog_request import SoftwareCatalogRequest # (1)
from waldur_api_client.api.marketplace_software_catalogs import marketplace_software_catalogs_update # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = SoftwareCatalogRequest(
name="my-awesome-marketplace-software-catalog",
version="string-value"
)
response = marketplace_software_catalogs_update.sync(
uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
client=client,
body=body_data
)
print(response)
|
- Model Source:
SoftwareCatalogRequest
- API Source:
marketplace_software_catalogs_update
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 | import { marketplaceSoftwareCatalogsUpdate } from 'waldur-js-client';
try {
const response = await marketplaceSoftwareCatalogsUpdate({
auth: "Token YOUR_API_TOKEN",
path: {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
body: {
"name": "my-awesome-marketplace-software-catalog",
"version": "string-value"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Required |
uuid |
string (uuid) |
✓ |
| Field |
Type |
Required |
Description |
name |
string |
✓ |
Catalog name (e.g., EESSI) |
version |
string |
✓ |
Catalog version (e.g., 2023.06) |
source_url |
string (uri) |
|
Catalog source URL |
description |
string |
|
|
200 -
| Field |
Type |
Description |
url |
string (uri) |
|
uuid |
string (uuid) |
|
created |
string (date-time) |
|
modified |
string (date-time) |
|
name |
string |
Catalog name (e.g., EESSI) |
version |
string |
Catalog version (e.g., 2023.06) |
source_url |
string (uri) |
Catalog source URL |
description |
string |
|
package_count |
integer |
|
Partially update a software catalog
Partially updates an existing software catalog. Requires staff permissions.
| http \
PATCH \
https://api.example.com/api/marketplace-software-catalogs/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
Authorization:"Token YOUR_API_TOKEN"
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.patched_software_catalog_request import PatchedSoftwareCatalogRequest # (1)
from waldur_api_client.api.marketplace_software_catalogs import marketplace_software_catalogs_partial_update # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = PatchedSoftwareCatalogRequest()
response = marketplace_software_catalogs_partial_update.sync(
uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
client=client,
body=body_data
)
print(response)
|
- Model Source:
PatchedSoftwareCatalogRequest
- API Source:
marketplace_software_catalogs_partial_update
1
2
3
4
5
6
7
8
9
10
11
12
13 | import { marketplaceSoftwareCatalogsPartialUpdate } from 'waldur-js-client';
try {
const response = await marketplaceSoftwareCatalogsPartialUpdate({
auth: "Token YOUR_API_TOKEN",
path: {
"uuid": "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 |
name |
string |
|
Catalog name (e.g., EESSI) |
version |
string |
|
Catalog version (e.g., 2023.06) |
source_url |
string (uri) |
|
Catalog source URL |
description |
string |
|
|
200 -
| Field |
Type |
Description |
url |
string (uri) |
|
uuid |
string (uuid) |
|
created |
string (date-time) |
|
modified |
string (date-time) |
|
name |
string |
Catalog name (e.g., EESSI) |
version |
string |
Catalog version (e.g., 2023.06) |
source_url |
string (uri) |
Catalog source URL |
description |
string |
|
package_count |
integer |
|
Delete a software catalog
Deletes a software catalog. Requires staff permissions.