You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Returns all entities related to the specified entity (deployment, environment, or resource) based on relationship rules. Relationships are grouped by relationship reference.
170
+
parameters:
171
+
- $ref: "#/components/parameters/workspaceId"
172
+
- $ref: "#/components/parameters/entityType"
173
+
- $ref: "#/components/parameters/entityId"
174
+
responses:
175
+
"200":
176
+
description: Related entities grouped by relationship reference.
177
+
content:
178
+
application/json:
179
+
schema:
180
+
type: object
181
+
properties:
182
+
relationships:
183
+
type: object
184
+
additionalProperties:
185
+
type: array
186
+
items:
187
+
$ref: "#/components/schemas/RelatedEntityGroup"
188
+
"404":
189
+
description: Entity not found.
190
+
content:
191
+
application/json:
192
+
schema:
193
+
$ref: "#/components/schemas/NotFoundError"
194
+
"400":
195
+
description: Invalid entity type.
196
+
content:
197
+
application/json:
198
+
schema:
199
+
$ref: "#/components/schemas/NotFoundError"
200
+
165
201
components:
166
202
parameters:
167
203
policyId:
@@ -206,6 +242,24 @@ components:
206
242
description: ID of the release target.
207
243
schema:
208
244
type: string
245
+
entityType:
246
+
name: entityType
247
+
in: path
248
+
required: true
249
+
description: Type of the entity (deployment, environment, or resource).
0 commit comments