api-flow
Version:
A flow written in ES6 using Immutable to convert between API description formats (Swagger, etc.) and other programs such as cURL command lines.
67 lines (66 loc) • 1.75 kB
YAML
swagger: '2.0'
info:
title: issue-28
securityDefinitions:
basicAuth:
type: basic
paths:
'/groupMailboxes/{groupMailboxID}/categories':
parameters:
- name: groupMailboxID
in: path
description: The ID of the group mailbox.
required: true
type: integer
put:
description: >-
Update the categories associated with a group mailbox. Categories are
added and removed as required.
consumes:
- application/json
tags:
- Group mailboxes
- Categories
produces:
- application/json
security:
- basicAuth: []
parameters:
- name: body
in: body
description: What the categories list for the group mailbox should be.
required: true
schema:
type: object
properties:
categories:
type: array
description: The category IDs.
items:
type: integer
post:
description: >-
Update the categories associated with a group mailbox. Categories are
added and removed as required.
consumes:
- application/json
tags:
- Group mailboxes
- Categories
produces:
- application/json
security:
- basicAuth: []
parameters:
- name: body
in: body
description: What the categories list for the group mailbox should be.
required: true
schema:
type: object
properties:
categories:
type: array
description: The category IDs.
items:
type: integer