Replace a MarketplaceEntry
const url = 'https://example.com/apis/nodus.dev/v1/marketplaceentries/example';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"apiVersion":"example","kind":"example","metadata":{"annotations":{"additionalProperty":"example"},"creationTimestamp":"example","deletionGracePeriodSeconds":1,"deletionTimestamp":"example","finalizers":["example"],"generateName":"example","generation":1,"labels":{"additionalProperty":"example"},"managedFields":[{"apiVersion":"example","fieldsType":"example","fieldsV1":{"additionalProperty":"example"},"manager":"example","operation":"example","subresource":"example","time":"example"}],"name":"example","namespace":"example","ownerReferences":[{"apiVersion":"example","blockOwnerDeletion":true,"controller":true,"kind":"example","name":"example","uid":"example"}],"resourceVersion":"example","selfLink":"example","uid":"example"},"spec":{"authorityConfirmed":true,"company":"example","contactEmail":"example","endsAt":"example","hardware":"example","intent":"example","memoryGiB":1,"minimumHours":1,"network":"example","notes":"example","publish":true,"quantity":1,"rateUSDPerUnitHour":"example","region":"example","startsAt":"example","state":"example","title":"example"},"status":{"costAllowanceUSDPerUnitHour":"example","customerRateUSDPerUnitHour":"example","lastReservation":"example","message":"example","observedGeneration":1,"review":"example","reviewedAt":"example","validUntil":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/apis/nodus.dev/v1/marketplaceentries/example \ --header 'Content-Type: application/json' \ --data '{ "apiVersion": "example", "kind": "example", "metadata": { "annotations": { "additionalProperty": "example" }, "creationTimestamp": "example", "deletionGracePeriodSeconds": 1, "deletionTimestamp": "example", "finalizers": [ "example" ], "generateName": "example", "generation": 1, "labels": { "additionalProperty": "example" }, "managedFields": [ { "apiVersion": "example", "fieldsType": "example", "fieldsV1": { "additionalProperty": "example" }, "manager": "example", "operation": "example", "subresource": "example", "time": "example" } ], "name": "example", "namespace": "example", "ownerReferences": [ { "apiVersion": "example", "blockOwnerDeletion": true, "controller": true, "kind": "example", "name": "example", "uid": "example" } ], "resourceVersion": "example", "selfLink": "example", "uid": "example" }, "spec": { "authorityConfirmed": true, "company": "example", "contactEmail": "example", "endsAt": "example", "hardware": "example", "intent": "example", "memoryGiB": 1, "minimumHours": 1, "network": "example", "notes": "example", "publish": true, "quantity": 1, "rateUSDPerUnitHour": "example", "region": "example", "startsAt": "example", "state": "example", "title": "example" }, "status": { "costAllowanceUSDPerUnitHour": "example", "customerRateUSDPerUnitHour": "example", "lastReservation": "example", "message": "example", "observedGeneration": 1, "review": "example", "reviewedAt": "example", "validUntil": "example" } }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The object’s name.
Query Parameters
Section titled “ Query Parameters ”Header Parameters
Section titled “ Header Parameters ”Request Bodyrequired
Section titled “ Request Bodyrequired ”MarketplaceEntry is a private capacity request or supply submission. It never reserves or starts compute.
object
object
object
object
object
object
object
MarketplaceEntrySpec is a non-binding request or listing.
object
AuthorityConfirmed attests authority to offer capacity; required for supply.
Company is the display name; published only with the owner’s explicit consent and operator review.
ContactEmail is private to the owning organization and Nodus operators.
EndsAt is the exclusive end of that interval.
Hardware is a concrete model or CPU configuration.
Intent is Demand or Supply; immutable.
MemoryGiB is accelerator memory per unit, or system memory for CPU configurations.
MinimumHours is the minimum billable duration per allocation, or a buyer’s intended duration.
Network describes interconnect and connectivity requirements.
Notes are private requirements and commercial context; never credentials.
Publish permits an operator to publish the reviewed supply fields. Never valid on demand.
Quantity counts complete units of the configuration described in Hardware.
RateUSDPerUnitHour is a buyer’s ceiling or a seller’s asking rate, as a positive decimal string.
Region is the required or offered geographic region.
StartsAt is the beginning of the requested or available UTC interval.
State is Open or Withdrawn. Withdrawal immediately removes catalog visibility.
Title describes the request or offered configuration.
MarketplaceEntryStatus records operator-reviewed details without exposing operator identity.
object
CostAllowanceUSDPerUnitHour covers estimated variable costs beyond the asking rate.
CustomerRateUSDPerUnitHour is an indicative reviewed customer rate, not a confirmed order.
LastReservation is the last confirmed proposal, serializing capacity claims.
Message is an operator-written update visible to the owner.
ObservedGeneration is the exact spec generation reviewed. Any later edit needs another review.
Review is the operator’s decision.
ReviewedAt is the last review time.
ValidUntil expires a published listing even when its available interval is longer.
Example generated
{ "apiVersion": "example", "kind": "example", "metadata": { "annotations": { "additionalProperty": "example" }, "creationTimestamp": "example", "deletionGracePeriodSeconds": 1, "deletionTimestamp": "example", "finalizers": [ "example" ], "generateName": "example", "generation": 1, "labels": { "additionalProperty": "example" }, "managedFields": [ { "apiVersion": "example", "fieldsType": "example", "fieldsV1": { "additionalProperty": "example" }, "manager": "example", "operation": "example", "subresource": "example", "time": "example" } ], "name": "example", "namespace": "example", "ownerReferences": [ { "apiVersion": "example", "blockOwnerDeletion": true, "controller": true, "kind": "example", "name": "example", "uid": "example" } ], "resourceVersion": "example", "selfLink": "example", "uid": "example" }, "spec": { "authorityConfirmed": true, "company": "example", "contactEmail": "example", "endsAt": "example", "hardware": "example", "intent": "example", "memoryGiB": 1, "minimumHours": 1, "network": "example", "notes": "example", "publish": true, "quantity": 1, "rateUSDPerUnitHour": "example", "region": "example", "startsAt": "example", "state": "example", "title": "example" }, "status": { "costAllowanceUSDPerUnitHour": "example", "customerRateUSDPerUnitHour": "example", "lastReservation": "example", "message": "example", "observedGeneration": 1, "review": "example", "reviewedAt": "example", "validUntil": "example" }}Responses
Section titled “ Responses ”OK
MarketplaceEntry is a private capacity request or supply submission. It never reserves or starts compute.
object
object
object
object
object
object
object
MarketplaceEntrySpec is a non-binding request or listing.
object
AuthorityConfirmed attests authority to offer capacity; required for supply.
Company is the display name; published only with the owner’s explicit consent and operator review.
ContactEmail is private to the owning organization and Nodus operators.
EndsAt is the exclusive end of that interval.
Hardware is a concrete model or CPU configuration.
Intent is Demand or Supply; immutable.
MemoryGiB is accelerator memory per unit, or system memory for CPU configurations.
MinimumHours is the minimum billable duration per allocation, or a buyer’s intended duration.
Network describes interconnect and connectivity requirements.
Notes are private requirements and commercial context; never credentials.
Publish permits an operator to publish the reviewed supply fields. Never valid on demand.
Quantity counts complete units of the configuration described in Hardware.
RateUSDPerUnitHour is a buyer’s ceiling or a seller’s asking rate, as a positive decimal string.
Region is the required or offered geographic region.
StartsAt is the beginning of the requested or available UTC interval.
State is Open or Withdrawn. Withdrawal immediately removes catalog visibility.
Title describes the request or offered configuration.
MarketplaceEntryStatus records operator-reviewed details without exposing operator identity.
object
CostAllowanceUSDPerUnitHour covers estimated variable costs beyond the asking rate.
CustomerRateUSDPerUnitHour is an indicative reviewed customer rate, not a confirmed order.
LastReservation is the last confirmed proposal, serializing capacity claims.
Message is an operator-written update visible to the owner.
ObservedGeneration is the exact spec generation reviewed. Any later edit needs another review.
Review is the operator’s decision.
ReviewedAt is the last review time.
ValidUntil expires a published listing even when its available interval is longer.
Example generated
{ "apiVersion": "example", "kind": "example", "metadata": { "annotations": { "additionalProperty": "example" }, "creationTimestamp": "example", "deletionGracePeriodSeconds": 1, "deletionTimestamp": "example", "finalizers": [ "example" ], "generateName": "example", "generation": 1, "labels": { "additionalProperty": "example" }, "managedFields": [ { "apiVersion": "example", "fieldsType": "example", "fieldsV1": { "additionalProperty": "example" }, "manager": "example", "operation": "example", "subresource": "example", "time": "example" } ], "name": "example", "namespace": "example", "ownerReferences": [ { "apiVersion": "example", "blockOwnerDeletion": true, "controller": true, "kind": "example", "name": "example", "uid": "example" } ], "resourceVersion": "example", "selfLink": "example", "uid": "example" }, "spec": { "authorityConfirmed": true, "company": "example", "contactEmail": "example", "endsAt": "example", "hardware": "example", "intent": "example", "memoryGiB": 1, "minimumHours": 1, "network": "example", "notes": "example", "publish": true, "quantity": 1, "rateUSDPerUnitHour": "example", "region": "example", "startsAt": "example", "state": "example", "title": "example" }, "status": { "costAllowanceUSDPerUnitHour": "example", "customerRateUSDPerUnitHour": "example", "lastReservation": "example", "message": "example", "observedGeneration": 1, "review": "example", "reviewedAt": "example", "validUntil": "example" }}default
Section titled “ default ”An error: a metav1.Status whose reason is a registered code.
Status is the error body of every API response: a Kubernetes metav1.Status (so kubectl and client-go understand it) plus three top-level extensions that those clients ignore (ADR-028).
object
object
object
Docs is the URL of the code’s docs page.
Fix says what to do next, for example a CLI command or the field to change.
object
object
RequestID identifies the request in logs and support tickets.
Example generated
{ "apiVersion": "example", "code": 1, "details": { "causes": [ { "field": "example", "message": "example", "reason": "example" } ], "group": "example", "kind": "example", "name": "example", "retryAfterSeconds": 1, "uid": "example" }, "docs": "example", "fix": "example", "kind": "example", "message": "example", "metadata": { "continue": "example", "remainingItemCount": 1, "resourceVersion": "example", "selfLink": "example", "shardInfo": { "selector": "example" } }, "reason": "example", "requestId": "example", "status": "example"}