From 787c317a641153eea5d985f75e2f58ce477ffdf5 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Mon, 17 May 2021 12:27:26 -0400 Subject: [PATCH 1/2] Add mine property to StackScripts --- openapi.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 053467c0e..a77a6aa9a 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -20978,6 +20978,13 @@ components: label: Enter the DB password name: DB_PASSWORD example: hunter2 + mine: + type: boolean + x-linode-filterable: true + description: | + Whether this StackScript was created by the user making the request. + readOnly: true + example: true StatsDataAvailable: type: object description: > From 4ee52a4f95e2b9923fdf5e3afd29f9d30dab011b Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Mon, 17 May 2021 12:37:04 -0400 Subject: [PATCH 2/2] Edit description --- openapi.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index a77a6aa9a..e88a57198 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -20982,7 +20982,8 @@ components: type: boolean x-linode-filterable: true description: | - Whether this StackScript was created by the user making the request. + Returns `true` if this StackScript is owned by the account of the user making the request, and the user + making the request is unrestricted or has access to this StackScript. readOnly: true example: true StatsDataAvailable: