Gigs
Update a Gig
https://cirro.io/api/v2/gigs/:idParameters
| Parameter | Type | Note | |
|---|---|---|---|
title | string | ||
description | string | ||
url | string | ||
start_at | number | UNIX timestamp | |
end_at | number | UNIX timestamp | |
invitation_mode | enum | Available options: auto, manual | |
filter_query | object (See below) | ||
sort_query | object (See below) | Default: {} | |
archive_at | number | UNIX timestamp | |
total_seats | number | ||
seats_min | number | Default: 1 | |
seats_max | number | Default: 1 | |
invitation_multiplier | number | Default: 10 | |
invitation_frequency | number | Default: 5 | |
notification_payload | object | Default: {} | |
invitation_notification_topic | string OR number | either the name or the id of the topic | |
epam_options | object | Default: {} |
Filter Query Parameters
A MongoDB-style query object (MQL) used to find matching Workers. Dot notation is supported for nested fields (e.g. skills.id).
Supported operators: $in, $nin, $or, $and, $exists, $not, $eq, $ne, $gt, etc.
See the MongoDB query operator docs for usage details.
Sort Query Parameters
A MongoDB-style sort object. Keys are field names, values are 1 (ascending) or -1 (descending). Dot notation is supported for nested fields.
See the MongoDB sort docs for usage details.
Description
Any (set of) attributes may be provided on an update call. Only the provided attributes will be updated. The rest will remain unchanged.
Returns the Gig object if the update was successful. Returns an error if creation failed.
Please see our guide on Gigs to learn more about the parameters and their usage in different scenarios.
Example
1client = CirroIOV2::Client.new(...)
2client.Gig.update(42, title: "My better named Gig")