Service
API service information and version details
Get Access Mode
Returns the current access mode, the modes available to switch to,
and any pending transition. Always reachable โ works while
unregistered, unlicensed, or in ReadOnly.
When licensed, readWriteAvailability says whether a ReadWrite
seat can be had (Available, AllSeatsInUse, NotLicensed,
Expired or Unknown); omitted when the API is unlicensed.
The explanation in words comes only with a refusal: the 409 from a
failed switch (detail) or from a write in ReadOnly
(extensions.readWriteAvailabilityReason).
Get Access Mode โบ Responses
Returns the current access mode
accessModeCurrent operational mode of the API.
availableAccessModesThe access modes the API can currently operate in โ i.e. which
targets POST /service/access-mode can be expected to accept.
pendingAccessModeCurrent operational mode of the API.
reasonIfAccessModePendingHuman-readable explanation of the pending access-mode transition (e.g. "Job open โ release on close").
readWriteAvailabilityWhether this licence can give the API a ReadWrite seat, and if not, why.
Computed by SpaceGassApi.Licensing.LicenseState.ReadWriteAvailability; surfaced on
GET /service/access-mode and on the 409 responses that refuse a
write or a switch to ReadWrite. The System.ComponentModel.DescriptionAttribute is the
short label for metadata and docs; the sentence for the user lives in
SpaceGassApi.Licensing.ReadWriteAvailabilityText.
Set Access Mode
Transitions the API between ReadWrite and ReadOnly.
When switching to ReadOnly with a job open, the transition
is queued and returns 202 โ the switch commits when the job
closes. When switching to ReadWrite the API attempts to
re-acquire MODULE_API_ID; a failure returns 409 and leaves the
access mode unchanged. The 409 errorCode says why:
API_MODULE_NOT_LICENSED (the API module is not in the licence),
API_SEAT_UNAVAILABLE (every API seat is in use),
MAINTENANCE_EXPIRED or VERSION_OUT_OF_DATE (the API
licence has expired or does not cover this version), or
READONLY_MODE when the cause could not be determined. For the
first four, extensions carries the current access status
(accessMode, availableAccessModes,
readWriteAvailability); detail is the explanation.
Set Access Mode โบ Request Body
accessModeCurrent operational mode of the API.
Set Access Mode โบ Responses
Access mode transitioned successfully; returns the updated access mode
accessModeCurrent operational mode of the API.
availableAccessModesThe access modes the API can currently operate in โ i.e. which
targets POST /service/access-mode can be expected to accept.
pendingAccessModeCurrent operational mode of the API.
reasonIfAccessModePendingHuman-readable explanation of the pending access-mode transition (e.g. "Job open โ release on close").
readWriteAvailabilityWhether this licence can give the API a ReadWrite seat, and if not, why.
Computed by SpaceGassApi.Licensing.LicenseState.ReadWriteAvailability; surfaced on
GET /service/access-mode and on the 409 responses that refuse a
write or a switch to ReadWrite. The System.ComponentModel.DescriptionAttribute is the
short label for metadata and docs; the sentence for the user lives in
SpaceGassApi.Licensing.ReadWriteAvailabilityText.
Get Service Info
Returns static identity information about the API instance โ its base URL and the SPACE GASS version. Always reachable, including while unregistered or unlicensed.
Get Service Info โบ Responses
Returns the service info
apiPathThe API base URL (scheme, host, and path base).
spaceGassVersionSPACE GASS version number in format "X.XX.XXXX (ProgramType)".

