Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REFACT: Ordering parameter #79

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 19 additions & 60 deletions api/par-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,7 @@ paths:
schema:
type: integer
default: 0
- name: ordering
in: query
description: Used for requested ordered responses, this defines the properties
to user for ordering the list of Business Rules returned.
Add '-' prefix for descending order.
schema:
type: string
enum:
- name
- last-modified-date
- -name
- -last-modified-date
- $ref: '#/components/parameters/orderNameLastModDateParam'
responses:
200:
description: Success
Expand Down Expand Up @@ -1096,18 +1085,7 @@ paths:
schema:
type: integer
default: 0
- name: ordering
in: query
description: Used for requested ordered responses, this defines the properties
to user for ordering the list of FileFormats returned.
Add '-' prefix for descending order.
schema:
type: string
enum:
- name
- last-modified-date
- -name
- -last-modified-date
- $ref: '#/components/parameters/orderNameLastModDateParam'
responses:
200:
description: Success
Expand Down Expand Up @@ -1750,18 +1728,7 @@ paths:
schema:
type: integer
default: 0
- name: ordering
in: query
description: Used for requested ordered responses, this defines the properties
to user for ordering the list of Format Families returned.
Add '-' prefix for descending order.
schema:
type: string
enum:
- name
- last-modified-date
- -name
- -last-modified-date
- $ref: '#/components/parameters/orderNameLastModDateParam'
responses:
200:
description: Success
Expand Down Expand Up @@ -2181,18 +2148,7 @@ paths:
schema:
type: integer
default: 0
- name: ordering
in: query
description: Used for requested ordered responses, this defines the properties
to user for ordering the list of Preservation Action Types returned.
Add '-' prefix for descending order.
schema:
type: string
enum:
- name
- last-modified-date
- -name
- -last-modified-date
- $ref: '#/components/parameters/orderNameLastModDateParam'
responses:
200:
description: Success
Expand Down Expand Up @@ -4260,18 +4216,7 @@ paths:
schema:
type: integer
default: 0
- name: ordering
in: query
description: Used for requested ordered responses, this defines the properties
to user for ordering the list of Properties returned.
Add '-' prefix for descending order.
schema:
type: string
enum:
- name
- last-modified-date
- -name
- -last-modified-date
- $ref: '#/components/parameters/orderNameLastModDateParam'
responses:
200:
description: Success
Expand Down Expand Up @@ -5882,3 +5827,17 @@ components:
type: array
items:
$ref: '#/components/schemas/Tool'
parameters:
orderNameLastModDateParam:
- name: ordering
in: query
description: Used for requested ordered responses, this defines the properties
to user for ordering the returned list.
Add '-' prefix for descending order.
schema:
type: string
enum:
- name
- last-modified-date
- -name
- -last-modified-date
Loading