Remove references to device specific push rules

Since they weren't implemented on the servers and weren't
used by the clients.
This commit is contained in:
Mark Haines 2016-02-18 16:05:47 +00:00 committed by review.rocks
parent 5cedfc13e2
commit 3db6980e0b
4 changed files with 8 additions and 51 deletions

View file

@ -33,20 +33,8 @@ paths:
description: All the push rulesets for this user.
schema:
type: object
required: ["device", "global"]
required: ["global"]
properties:
device:
type: object
title: Devices
description: A dictionary of profile tags to rulesets.
additionalProperties:
x-pattern: "$PROFILE_TAG"
type: object
description: The ruleset for this profile tag.
title: Ruleset
allOf: [
"$ref": "definitions/push_ruleset.yaml"
]
global:
type: object
description: The global ruleset.
@ -57,7 +45,6 @@ paths:
examples:
application/json: |-
{
"device": {},
"global": {
"content": [
{
@ -261,8 +248,7 @@ paths:
required: true
x-example: "global"
description: |-
Either ``global`` or ``device/<profile_tag>`` to specify global
rules or device rules for the given ``profile_tag``.
``global`` to specify global rules.
- in: path
type: string
name: kind
@ -314,8 +300,7 @@ paths:
required: true
x-example: "global"
description: |-
Either ``global`` or ``device/<profile_tag>`` to specify global
rules or device rules for the given ``profile_tag``.
``global`` to specify global rules.
- in: path
type: string
name: kind
@ -356,8 +341,7 @@ paths:
required: true
x-example: "global"
description: |-
Either ``global`` or ``device/<profile_tag>`` to specify global
rules or device rules for the given ``profile_tag``.
``global`` to specify global rules.
- in: path
type: string
name: kind
@ -460,8 +444,7 @@ paths:
required: true
x-example: "global"
description: |-
Either ``global`` or ``device/<profile_tag>`` to specify global
rules or device rules for the given ``profile_tag``.
``global`` to specify global rules.
- in: path
type: string
name: kind