From 2b5b3c0b6d871b7e787e61042787853761cfeeb3 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 27 Jan 2026 19:38:52 +0300 Subject: [PATCH] resourceRealmTypes 203 --- v1/Application.cfc | 2 +- v1/resources/instance_ls.cfc | 1 + v1/resources/resource_realm_type_ls.cfc | 96 +++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 v1/resources/resource_realm_type_ls.cfc diff --git a/v1/Application.cfc b/v1/Application.cfc index 265fe83..42c2225 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -57,7 +57,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="svc-api"; - variables.framework.docs.APIVersion="0.202"; /*$ git config --global --unset user.password*/ + variables.framework.docs.APIVersion="0.203"; /*$ git config --global --unset user.password*/ variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; diff --git a/v1/resources/instance_ls.cfc b/v1/resources/instance_ls.cfc index cf72967..2bcdd7f 100644 --- a/v1/resources/instance_ls.cfc +++ b/v1/resources/instance_ls.cfc @@ -36,6 +36,7 @@ "is_suspended"={prefix="inr", type="string"}, "job_is_pending"={prefix="inr", type="string"}, "resource_realm"={prefix="inr", type="string"}, + "resource_realm_type_id"={prefix="inr", type="integer"}, "operation_is_in_progress"={prefix="inr", type="boolean"}, "operation_is_pending"={prefix="inr", type="boolean"}, "is_test"={prefix="inr", type="boolean"}, diff --git a/v1/resources/resource_realm_type_ls.cfc b/v1/resources/resource_realm_type_ls.cfc new file mode 100644 index 0000000..0f16bab --- /dev/null +++ b/v1/resources/resource_realm_type_ls.cfc @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select + + t.resource_realm_type_id + t.resource_realm_type + + t.man + + from resource_realm_type t + where 1=1 + order by + limit #maxrows# + + + + + select count(*) as cnt + from resource_realm_type + where 1=1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file