Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Client Server → Get Command Snippets For Egg

AI-generated

Summary

Retrieve command snippets associated with a specific egg by its UUID from the client server API.

Inputs

  • Egg UUID (required) — The UUID of the egg for which to fetch command snippets.
  • Query Parameters JSON — Optional JSON object to send as query parameters with the request.
  • Additional Options — Optional settings including ignoring HTTP status errors, returning full response, and specifying request timeout in milliseconds.

Output shape

a list of command snippets as a JSON array or full HTTP response details if requested

The response returns either only the response body by default, or full HTTP response including status and headers when 'Return Full Response' is enabled. Errors can be returned in the response JSON if 'Ignore HTTP Status Errors' is enabled, otherwise the node will throw an error.

Examples

Example 1: Getting command snippets for a known egg

Set the Egg UUID to the target egg's UUID. Optionally provide query parameters and additional options like timeout. The node will perform a GET request to the '/api/client/servers/eggs/{eggUuid}/command-snippets' endpoint and return the snippets in JSON form.

Links

Discussion