Skip to content
On this page

Collections

Collections are the primary way to organize your API requests in Slingshot. A collection groups related requests together and lets you share configuration — such as variables and request settings — across all requests within it.

The Collections list

The Collections list is found at https://s.requestbite.com/collections. It shows all your collections in a table with the following columns:

ColumnDescription
NameThe collection name. Click it to open the collection editor.
RequestsThe number of saved requests in the collection.
VariablesThe number of variables defined on the collection.

From the options menu on each row you can:

  • Open in API client — navigate straight to the collection's request editor view.
  • Edit — open the collection editor (same as clicking the name).
  • Delete — permanently remove the collection and all its requests.

A new collection can be created by clicking Add Collection in the top-right corner of the page.

The collection editor

Clicking a collection name (or choosing Edit from the options menu) opens the collection editor. Here you can update the collection's details, tweak request-level settings that apply to every request in the collection, and manage collection variables.

Details

  • Name (required) — a human-readable label for the collection.
  • Description (optional) — free-form notes about the collection.

Request settings

These settings are applied as defaults to every request made within the collection.

SettingDefaultDescription
Automatically follow redirectsOnWhen enabled, HTTP redirects are followed transparently. Disable this if you want to inspect redirect responses directly.
Request timeout30 sHow long (in seconds, between 1 and 300) to wait for a response before giving up.
Parse ANSI color codes in text/plain responsesOnWhen enabled, ANSI escape sequences in plain-text responses are rendered as colored text rather than shown as raw escape codes.

Variables

Variables let you define reusable key/value pairs that can be referenced inside request URLs, headers, query parameters, and body content throughout the collection using the syntax.

The variables table shows all variables currently defined on the collection. Unsaved additions are highlighted in blue and marked (new); unsaved edits are highlighted in yellow and marked (modified).

Adding a variable

Fill in the Key and Value fields above the table and click Add. The new variable appears in the table immediately (highlighted) but is not persisted until you click Save.

Editing a variable

Click the edit (pencil) icon on a variable row to open the edit modal. Update the key and/or value and click Save in the modal.

Deleting a variable

Click the delete (trash) icon on a variable row. A confirmation dialog will appear before the variable is removed.

Saving and cancelling

  • Save — persists all pending changes to the collection details, settings, and variables at once, then returns you to the Collections list.
  • Cancel — returns you to the Collections list. If you have unsaved changes you will be asked to confirm before leaving.
  • Delete Collection — permanently deletes the collection and all its requests. A confirmation dialog is shown before anything is removed.

Released under the MIT License.