From a9b9f1d80e942833be9a24b08aea345492fa4ed1 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Mon, 14 Jun 2021 14:26:34 -0400 Subject: [PATCH 1/2] Maintenance when property filterable --- openapi.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 180e2ebf5..4022ab0c9 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -19306,9 +19306,17 @@ components: The reason maintenance is being performed. example: This maintenance will allow us to update the BIOS on the host’s motherboard. when: + x-linode-filterable: true type: string - description: > + description: | When the maintenance will begin. + + [Filterable](/docs/api/#filtering-and-sorting) with the following parameters: + + * A single value in date-time string format ("%Y-%m-%dT%H:%M:%S"), which returns only matches to that value. + + * A dictionary containing pairs of inequality operator string ("+or", "+gt", "+gte", "+lt", "+lte", or "+neq") keys and date-time string format ("%Y-%m-%dT%H:%M:%S") + values. "+or" accepts an array of values that may consist of single date-time strings or dictionaries of inequality operator pairs. format: date-time example: 2020-07-09T00:01:01 entity: From 3490a96dc94d6c7c1c26696c27d8ee3ef3c1bc51 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Mon, 14 Jun 2021 14:46:12 -0400 Subject: [PATCH 2/2] Copy edits --- openapi.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 4022ab0c9..3636d13df 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -19315,8 +19315,9 @@ components: * A single value in date-time string format ("%Y-%m-%dT%H:%M:%S"), which returns only matches to that value. - * A dictionary containing pairs of inequality operator string ("+or", "+gt", "+gte", "+lt", "+lte", or "+neq") keys and date-time string format ("%Y-%m-%dT%H:%M:%S") - values. "+or" accepts an array of values that may consist of single date-time strings or dictionaries of inequality operator pairs. + * A dictionary containing pairs of inequality operator string keys ("+or", "+gt", "+gte", "+lt", "+lte", + or "+neq") and single date-time string format values ("%Y-%m-%dT%H:%M:%S"). "+or" accepts an array of values that + may consist of single date-time strings or dictionaries of inequality operator pairs. format: date-time example: 2020-07-09T00:01:01 entity: