Download OpenAPI specification:
Automatically generated swagger spec for the share stack.
| entityIds required | Array of strings |
{- "entityIds": [
- "string"
]
}{- "result": [
- {
- "allowedAccountIds": [
- "string"
], - "entityId": "string"
}
]
}| sourceAccountId required | string <int64> |
| targetAccountIds required | Array of strings <int64> non-empty [ items <int64 > ] |
| resourceIdPrefix | string If left empty all resourceIds should be returned |
{- "shares": [
- {
- "resourceIds": [
- "string"
], - "scope": "UNDEFINED_SCOPE",
- "sourceAccountId": "string",
- "targetAccountId": "string"
}
]
}| resourceIds required | Array of strings |
{- "resourceIds": [
- "string"
]
}{- "shares": [
- {
- "resourceIds": [
- "string"
], - "scope": "UNDEFINED_SCOPE",
- "sourceAccountId": "string",
- "targetAccountId": "string"
}
]
}| subResourceIds required | Array of strings |
{- "subResourceIds": [
- "string"
]
}{- "shares": [
- {
- "resourceIds": [
- "string"
], - "scope": "UNDEFINED_SCOPE",
- "sourceAccountId": "string",
- "targetAccountId": "string"
}
]
}| targetAccountId required | string <int64> |
| resourceIdPrefix | string Optional. If left empty all resourceIds should be returned |
{- "shares": [
- {
- "resourceIds": [
- "string"
], - "scope": "UNDEFINED_SCOPE",
- "sourceAccountId": "string",
- "targetAccountId": "string"
}
]
}| targetAccountId required | string <int64> |
| resourceIdPrefix | string |
| scopes | Array of strings Items Enum: "UNDEFINED_SCOPE" "MARKETING_SCOPE" "MANAGEMENT_SCOPE" "ACCOUNTING_SCOPE" "ASSET_SCOPE" Optional. If empty array then filter is not applied |
{- "ids": [
- "string"
]
}| resourceIds required | Array of strings |
| subResourceIdPrefixes required | Array of strings |
{- "resourceIds": [
- "string"
], - "subResourceIdPrefixes": [
- "string"
]
}{- "shares": [
- {
- "sourceAccountId": "string",
- "subResourceId": "string",
- "targetAccountIds": [
- "string"
]
}
]
}| targetAccountId required | string <int64> |
| scope | string Default: "UNDEFINED_SCOPE" Enum: "UNDEFINED_SCOPE" "MARKETING_SCOPE" "MANAGEMENT_SCOPE" "ACCOUNTING_SCOPE" "ASSET_SCOPE" |
| subResourceIdPrefix | string |
{- "subResourceIds": [
- "string"
]
}| resourceIds required | Array of strings |
| scope required | string (shareShareScope) Default: "UNDEFINED_SCOPE" Enum: "UNDEFINED_SCOPE" "MARKETING_SCOPE" "MANAGEMENT_SCOPE" "ACCOUNTING_SCOPE" "ASSET_SCOPE" |
| sourceAccountId required | string <int64> |
| targetAccountId required | string <int64> |
{- "resourceIds": [
- "string"
], - "scope": "UNDEFINED_SCOPE",
- "sourceAccountId": "string",
- "targetAccountId": "string"
}{- "share": {
- "resourceIds": [
- "string"
], - "scope": "UNDEFINED_SCOPE",
- "sourceAccountId": "string",
- "targetAccountId": "string"
}
}| ownerAccountId required | string <int64> |
| scopes required | Array of strings (shareShareScope) Items Enum: "UNDEFINED_SCOPE" "MARKETING_SCOPE" "MANAGEMENT_SCOPE" "ACCOUNTING_SCOPE" "ASSET_SCOPE" |
| targetAccountId required | string <int64> |
{- "ownerAccountId": "string",
- "scopes": [
- "UNDEFINED_SCOPE"
], - "targetAccountId": "string"
}{- "shares": [
- {
- "resourceIds": [
- "string"
], - "scope": "UNDEFINED_SCOPE",
- "sourceAccountId": "string",
- "targetAccountId": "string"
}
]
}| resourceIds required | Array of strings |
| scopes required | Array of strings (shareShareScope) Items Enum: "UNDEFINED_SCOPE" "MARKETING_SCOPE" "MANAGEMENT_SCOPE" "ACCOUNTING_SCOPE" "ASSET_SCOPE" |
| sourceAccountId required | string <int64> |
{- "resourceIds": [
- "string"
], - "scopes": [
- "UNDEFINED_SCOPE"
], - "sourceAccountId": "string"
}{ }