From d714c813c7422a547ca07c28fd5e64d004661fbb Mon Sep 17 00:00:00 2001 From: Annastacia McCarty <39739917+amvertex@users.noreply.github.com> Date: Thu, 11 Apr 2024 14:46:46 -0500 Subject: [PATCH 1/4] CONNECT_WORKSPACE_URN --- docs/guides/render-static-scenes.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/guides/render-static-scenes.mdx b/docs/guides/render-static-scenes.mdx index c712d993..a83f4e94 100644 --- a/docs/guides/render-static-scenes.mdx +++ b/docs/guides/render-static-scenes.mdx @@ -97,6 +97,17 @@ curl --location --request POST \ +:::tip +Scenes that are created or updated with the metadata key/value pair `"CONNECT_WORKSPACE_URN": "{YOUR_URN}"` will be added to the corresponding Connect workspace. This information can be added to the attributes section of your requests: +``` + "attributes": { + "metadata": { + "CONNECT_WORKSPACE_URN": "{YOUR_URN}", + }, + }, +``` +::: + Now that the scene resource exists, `POST` to the [createSceneItem](https://docs.vertexvis.com/#d597f539-3785-4c83-a645-fdf3a9a90521) API. This API is asynchronous, returning the status of a queued scene item. See the [Transformation matrices](./transformation-matrices.mdx) reference for an explanation of the `transform` property. Date: Thu, 11 Apr 2024 14:47:21 -0500 Subject: [PATCH 2/4] CONNECT_WORKSPACE_URN --- docs/guides/render-static-scenes.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/render-static-scenes.mdx b/docs/guides/render-static-scenes.mdx index a83f4e94..732bb3c3 100644 --- a/docs/guides/render-static-scenes.mdx +++ b/docs/guides/render-static-scenes.mdx @@ -102,9 +102,9 @@ Scenes that are created or updated with the metadata key/value pair `"CONNECT_WO ``` "attributes": { "metadata": { - "CONNECT_WORKSPACE_URN": "{YOUR_URN}", - }, - }, + "CONNECT_WORKSPACE_URN": "{YOUR_URN}" + } + } ``` ::: From 01c060d6036904d46db1f380dfcbaa7bda08b4d2 Mon Sep 17 00:00:00 2001 From: Annastacia McCarty <39739917+amvertex@users.noreply.github.com> Date: Fri, 12 Apr 2024 15:13:12 -0500 Subject: [PATCH 3/4] Workspace URNs --- docs/guides/import-data-with-api.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/guides/import-data-with-api.mdx b/docs/guides/import-data-with-api.mdx index 26f53ef7..0c7649f2 100644 --- a/docs/guides/import-data-with-api.mdx +++ b/docs/guides/import-data-with-api.mdx @@ -254,3 +254,15 @@ curl --location --request GET \ + +:::tip +Data contained in scenes that are created or updated with the metadata key/value pair `"CONNECT_WORKSPACE_URN": "{YOUR_URN}"` will be added to the corresponding Connect workspace. This information can be added to the attributes section of your requests to create or update a scene: +``` + "attributes": { + "metadata": { + "CONNECT_WORKSPACE_URN": "{YOUR_URN}" + } + } +``` +To learn more about scenes in Vertex, see [Render static scenes](https://developer.vertexvis.com/docs/guides/render-static-scenes). +::: From 2e67f4ca7ab957404890af2cf4f0d06f6a7fc6ed Mon Sep 17 00:00:00 2001 From: Annastacia McCarty <39739917+amvertex@users.noreply.github.com> Date: Fri, 12 Apr 2024 15:13:35 -0500 Subject: [PATCH 4/4] Update render-static-scenes.mdx --- docs/guides/render-static-scenes.mdx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/guides/render-static-scenes.mdx b/docs/guides/render-static-scenes.mdx index 732bb3c3..c712d993 100644 --- a/docs/guides/render-static-scenes.mdx +++ b/docs/guides/render-static-scenes.mdx @@ -97,17 +97,6 @@ curl --location --request POST \ -:::tip -Scenes that are created or updated with the metadata key/value pair `"CONNECT_WORKSPACE_URN": "{YOUR_URN}"` will be added to the corresponding Connect workspace. This information can be added to the attributes section of your requests: -``` - "attributes": { - "metadata": { - "CONNECT_WORKSPACE_URN": "{YOUR_URN}" - } - } -``` -::: - Now that the scene resource exists, `POST` to the [createSceneItem](https://docs.vertexvis.com/#d597f539-3785-4c83-a645-fdf3a9a90521) API. This API is asynchronous, returning the status of a queued scene item. See the [Transformation matrices](./transformation-matrices.mdx) reference for an explanation of the `transform` property.