Skip to content

Marketplace Software Packages

Operations Summary

Method Endpoint Description
GET /api/marketplace-software-packages/ List Marketplace Software Packages
GET /api/marketplace-software-packages/{uuid}/ Retrieve
POST /api/marketplace-software-packages/ Create
PUT /api/marketplace-software-packages/{uuid}/ Update
PATCH /api/marketplace-software-packages/{uuid}/ Partial Update
DELETE /api/marketplace-software-packages/{uuid}/ Delete

List Marketplace Software Packages

1
2
3
4
http \
  GET \
  https://api.example.com/api/marketplace-software-packages/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.marketplace_software_packages import marketplace_software_packages_list # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = marketplace_software_packages_list.sync(client=client)

for item in response:
    print(item)
  1. API Source: marketplace_software_packages_list
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { marketplaceSoftwarePackagesList } from 'waldur-js-client';

try {
  const response = await marketplaceSoftwarePackagesList({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Description
catalog_name string Filter packages by catalog name (case-insensitive partial match)
catalog_uuid string (uuid) Filter packages from a specific software catalog
catalog_version string Filter packages by catalog version (case-insensitive partial match)
cpu_family string Filter packages available for specific CPU family (e.g., x86_64, aarch64)
cpu_microarchitecture string Filter packages available for specific CPU microarchitecture (e.g., generic, zen2, haswell)
description string Filter packages by description (case-insensitive partial match)
has_version string Filter packages that have a specific version
name string Filter packages by name (case-insensitive partial match)
o array Ordering

offering_uuid string (uuid) Filter packages available for a specific offering
page integer A page number within the paginated result set.
page_size integer Number of results to return per page.
query string Query packages by name, description, or version (case-insensitive partial match)

200 -

The response body is an array of objects, where each object has the following structure:

Field Type
url string (uri)
uuid string (uuid)
created string (date-time)
modified string (date-time)
catalog string (uri)
name string
description string
homepage string (uri)
catalog_name string
catalog_version string
version_count integer
versions array of objects
versions.uuid string (uuid)
versions.version string
versions.release_date string (date)
versions.targets array of objects
versions.targets.uuid string (uuid)
versions.targets.cpu_family string
versions.targets.cpu_microarchitecture string
versions.targets.path string

Retrieve

1
2
3
4
http \
  GET \
  https://api.example.com/api/marketplace-software-packages/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.marketplace_software_packages import marketplace_software_packages_retrieve # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = marketplace_software_packages_retrieve.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. API Source: marketplace_software_packages_retrieve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { marketplaceSoftwarePackagesRetrieve } from 'waldur-js-client';

try {
  const response = await marketplaceSoftwarePackagesRetrieve({
  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)

200 -

Field Type
url string (uri)
uuid string (uuid)
created string (date-time)
modified string (date-time)
catalog string (uri)
name string
description string
homepage string (uri)
catalog_name string
catalog_version string
version_count integer
versions array of objects
versions.uuid string (uuid)
versions.version string
versions.release_date string (date)
versions.targets array of objects
versions.targets.uuid string (uuid)
versions.targets.cpu_family string
versions.targets.cpu_microarchitecture string
versions.targets.path string

Create

1
2
3
4
5
6
http \
  POST \
  https://api.example.com/api/marketplace-software-packages/ \
  Authorization:"Token YOUR_API_TOKEN" \
  catalog="https://api.example.com/api/catalog/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
  name="my-awesome-marketplace-software-package"
 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_package_request import SoftwarePackageRequest # (1)
from waldur_api_client.api.marketplace_software_packages import marketplace_software_packages_create # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = SoftwarePackageRequest(
    catalog="https://api.example.com/api/catalog/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
    name="my-awesome-marketplace-software-package"
)
response = marketplace_software_packages_create.sync(
    client=client,
    body=body_data
)

print(response)
  1. Model Source: SoftwarePackageRequest
  2. API Source: marketplace_software_packages_create
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
import { marketplaceSoftwarePackagesCreate } from 'waldur-js-client';

try {
  const response = await marketplaceSoftwarePackagesCreate({
  auth: "Token YOUR_API_TOKEN",
  body: {
    "catalog": "https://api.example.com/api/catalog/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
    "name": "my-awesome-marketplace-software-package"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Field Type Required
catalog string (uri)
name string
description string
homepage string (uri)

201 -

Field Type
url string (uri)
uuid string (uuid)
created string (date-time)
modified string (date-time)
catalog string (uri)
name string
description string
homepage string (uri)
catalog_name string
catalog_version string
version_count integer
versions array of objects
versions.uuid string (uuid)
versions.version string
versions.release_date string (date)
versions.targets array of objects
versions.targets.uuid string (uuid)
versions.targets.cpu_family string
versions.targets.cpu_microarchitecture string
versions.targets.path string

Update

1
2
3
4
5
6
http \
  PUT \
  https://api.example.com/api/marketplace-software-packages/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN" \
  catalog="https://api.example.com/api/catalog/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
  name="my-awesome-marketplace-software-package"
 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_package_request import SoftwarePackageRequest # (1)
from waldur_api_client.api.marketplace_software_packages import marketplace_software_packages_update # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = SoftwarePackageRequest(
    catalog="https://api.example.com/api/catalog/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
    name="my-awesome-marketplace-software-package"
)
response = marketplace_software_packages_update.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client,
    body=body_data
)

print(response)
  1. Model Source: SoftwarePackageRequest
  2. API Source: marketplace_software_packages_update
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
import { marketplaceSoftwarePackagesUpdate } from 'waldur-js-client';

try {
  const response = await marketplaceSoftwarePackagesUpdate({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  body: {
    "catalog": "https://api.example.com/api/catalog/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
    "name": "my-awesome-marketplace-software-package"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid)
Field Type Required
catalog string (uri)
name string
description string
homepage string (uri)

200 -

Field Type
url string (uri)
uuid string (uuid)
created string (date-time)
modified string (date-time)
catalog string (uri)
name string
description string
homepage string (uri)
catalog_name string
catalog_version string
version_count integer
versions array of objects
versions.uuid string (uuid)
versions.version string
versions.release_date string (date)
versions.targets array of objects
versions.targets.uuid string (uuid)
versions.targets.cpu_family string
versions.targets.cpu_microarchitecture string
versions.targets.path string

Partial Update

1
2
3
4
http \
  PATCH \
  https://api.example.com/api/marketplace-software-packages/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_package_request import PatchedSoftwarePackageRequest # (1)
from waldur_api_client.api.marketplace_software_packages import marketplace_software_packages_partial_update # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = PatchedSoftwarePackageRequest()
response = marketplace_software_packages_partial_update.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client,
    body=body_data
)

print(response)
  1. Model Source: PatchedSoftwarePackageRequest
  2. API Source: marketplace_software_packages_partial_update
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { marketplaceSoftwarePackagesPartialUpdate } from 'waldur-js-client';

try {
  const response = await marketplaceSoftwarePackagesPartialUpdate({
  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
catalog string (uri)
name string
description string
homepage string (uri)

200 -

Field Type
url string (uri)
uuid string (uuid)
created string (date-time)
modified string (date-time)
catalog string (uri)
name string
description string
homepage string (uri)
catalog_name string
catalog_version string
version_count integer
versions array of objects
versions.uuid string (uuid)
versions.version string
versions.release_date string (date)
versions.targets array of objects
versions.targets.uuid string (uuid)
versions.targets.cpu_family string
versions.targets.cpu_microarchitecture string
versions.targets.path string

Delete

1
2
3
4
http \
  DELETE \
  https://api.example.com/api/marketplace-software-packages/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.marketplace_software_packages import marketplace_software_packages_destroy # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = marketplace_software_packages_destroy.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. API Source: marketplace_software_packages_destroy
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { marketplaceSoftwarePackagesDestroy } from 'waldur-js-client';

try {
  const response = await marketplaceSoftwarePackagesDestroy({
  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)

204 - No response body