Rotageek User Availability API
The UserAvailability API from Rotageek — 1 operation(s) for useravailability.
The UserAvailability API from Rotageek — 1 operation(s) for useravailability.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/rotageek:rotageek-useravailability-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Rotageek API v1 User Availability API
description: Hello World!
contact:
name: Rotageek
email: office@rotageek.com
version: '1.0'
security:
- Bearer: []
tags:
- name: UserAvailability
paths:
/api/v1/users/{userId}/availability:
get:
tags:
- UserAvailability
summary: Retrieve user's availability
description: Retrieve user's availability for the specified date range
operationId: UserAvailability_GetAvailability
parameters:
- name: userId
in: path
description: Target user id
required: true
schema:
type: string
- name: from
in: query
description: Start of date range
schema:
type: string
format: date-time
- name: to
in: query
description: End of date range
schema:
type: string
format: date-time
responses:
'200':
description: User availability
content:
text/plain:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
'400':
description: Request parameters are invalid
'401':
description: Access denied to retrieve a resource
'500':
description: Internal Server Error
put:
tags:
- UserAvailability
summary: Update user's availability
description: Update user's availability for the specified date range
operationId: UserAvailability_UpdateAvailability
parameters:
- name: userId
in: path
description: Target user id
required: true
schema:
type: string
requestBody:
description: Updated availability. Note that new availability data will replace existing data for the given date
content:
application/json-patch+json:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
application/*+json:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
responses:
'200':
description: Updated user availability
content:
text/plain:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel'
'400':
description: Request parameters are invalid
'401':
description: Access denied to update a resource
'409':
description: Conflicting model values
'500':
description: Internal Server Error
delete:
tags:
- UserAvailability
summary: Delete user's availability
description: Delete user's availability for the specified date range
operationId: UserAvailability_DeleteAvailability
parameters:
- name: userId
in: path
description: Target user id
required: true
schema:
type: string
- name: from
in: query
description: Start of date range
schema:
type: string
format: date-time
- name: to
in: query
description: End of date range (optional)
schema:
type: string
format: date-time
responses:
'200':
description: ''
'400':
description: Request parameters are invalid
'401':
description: Access denied to update a resource
'409':
description: Conflicting model values
'500':
description: Internal Server Error
components:
schemas:
Rotageek.AspNetCore.PublicApi.Models.Availability:
enum:
- Available
- NotAvailable
- Prefer
- PreferNot
type: string
Rotageek.AspNetCore.PublicApi.Models.AvailabilityModel:
type: object
properties:
start:
type: string
description: Start of availability
format: date-time
end:
type: string
description: End of availability
format: date-time
type:
$ref: '#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.Availability'
additionalProperties: false
description: Container for availability for a specific date/time range
securitySchemes:
Bearer:
type: http
description: Paste the JWT access token returned by POST /api/v1/auth. Swagger adds the 'Bearer ' prefix automatically.
scheme: bearer
bearerFormat: JWT
oauth2:
type: oauth2
description: OAuth2 Password Grant
flows:
password:
tokenUrl: /api/v1/auth
scopes: {}