Sorry about that - not sure what happened there.
Attaching it now.
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
swagger: '2.0'
info:
version: "1.0.0"
title: Test REST API
basePath: /api
schemes:
- http
consumes:
- application/x-www-form-urlencoded
produces:
- application/json
paths:
/subscriber:
patch:
summary: Update subscriber objects.
description: Update subscriber objects.
parameters:
- name: id
in: query
description: filter on id
required: false
type: integer
format: int32
- name: authorised
in: query
description: filter on authorised
required: false
type: integer
format: int32
- in: formData
name: authorised
description: The authorisation status of the subscriber.
required: false
type: integer
format: int32
- in: formData
name: privilege_level
description: The privilege level of the user.
required: false
type: integer
format: int32
responses:
200:
description: Object updated
schema:
type: object
properties:
error_text:
type: string
default:
description: Unexpected error
schema:
type: object
properties:
error_text:
type: string