Purview Share Client (preview:2023-05-30)

2025/12/05 • 17 new methods

ReceivedShares_Get (new)
Description Get a received share
Reference Link ¶

⚼ Request

GET:  /receivedShares/{receivedShareId}
{
receivedShareId: string ,
api-version: string ,
}

⚐ Response (200)

{
shareKind: enum ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
ReceivedShares_CreateOrReplace (new)
Description Update changes to a received share
Reference Link ¶

⚼ Request

PUT:  /receivedShares/{receivedShareId}
{
receivedShareId: string ,
api-version: string ,
receivedShare:
{
shareKind: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
shareKind: enum ,
}
,
}

⚐ Response (200)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
shareKind: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
ReceivedShares_Delete (new)
Description Delete a received share
Reference Link ¶

⚼ Request

DELETE:  /receivedShares/{receivedShareId}
{
receivedShareId: string ,
api-version: string ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
endTime: string ,
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
id: string ,
startTime: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
ReceivedShares_ListAttached (new)
Description List attached received shares
Reference Link ¶

⚼ Request

GET:  /receivedShares/attached
{
referenceName: string ,
api-version: string ,
filter: string ,
orderby: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
shareKind: enum ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
ReceivedShares_ListDetached (new)
Description List detached received shares
Reference Link ¶

⚼ Request

GET:  /receivedShares/detached
{
api-version: string ,
filter: string ,
orderby: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
shareKind: enum ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_List (new)
Description List sent shares
Reference Link ¶

⚼ Request

GET:  /sentShares
{
referenceName: string ,
api-version: string ,
filter: string ,
orderby: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
shareKind: enum ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_Get (new)
Description Get a sent share
Reference Link ¶

⚼ Request

GET:  /sentShares/{sentShareId}
{
sentShareId: string ,
api-version: string ,
}

⚐ Response (200)

{
shareKind: enum ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_CreateOrReplace (new)
Description Create or replace a sent share
Reference Link ¶

⚼ Request

PUT:  /sentShares/{sentShareId}
{
sentShareId: string ,
api-version: string ,
sentShare:
{
shareKind: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
shareKind: enum ,
}
,
}

⚐ Response (200)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
shareKind: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_Delete (new)
Description Delete a sent share
Reference Link ¶

⚼ Request

DELETE:  /sentShares/{sentShareId}
{
sentShareId: string ,
api-version: string ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
endTime: string ,
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
id: string ,
startTime: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_ListInvitations (new)
Description List sent share recipients
Reference Link ¶

⚼ Request

GET:  /sentShares/{sentShareId}/sentShareInvitations
{
sentShareId: string ,
api-version: string ,
filter: string ,
orderby: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
invitationKind: enum ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_GetInvitation (new)
Description Get recipient for a given sent share
Reference Link ¶

⚼ Request

GET:  /sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}
{
sentShareId: string ,
sentShareInvitationId: string ,
api-version: string ,
}

⚐ Response (200)

{
invitationKind: enum ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_CreateInvitation (new)
Description Create a recipient for a given sent share
Reference Link ¶

⚼ Request

PUT:  /sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}
{
sentShareId: string ,
sentShareInvitationId: string ,
api-version: string ,
sentShareInvitation:
{
invitationKind: enum ,
}
,
}

⚐ Response (201)

{
invitationKind: enum ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_DeleteInvitation (new)
Description Delete a sent share invitation
Reference Link ¶

⚼ Request

DELETE:  /sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}
{
sentShareId: string ,
sentShareInvitationId: string ,
api-version: string ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
endTime: string ,
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
id: string ,
startTime: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
SentShares_NotifyUserInvitation (new)
Description Notifies the user recipient of the sent share invitation, does not apply to service invitations.
Reference Link ¶

⚼ Request

POST:  /sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}:notify
{
sentShareId: string ,
sentShareInvitationId: string ,
api-version: string ,
repeatability-request-id: string ,
}

⚐ Response (200)

{
invitationKind: enum ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
ShareResources_List (new)
Description List share resources
Reference Link ¶

⚼ Request

GET:  /shareResources
{
api-version: string ,
filter: string ,
orderby: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
receivedSharesCount: integer ,
sentSharesCount: integer ,
storeKind: enum ,
storeReference:
{
referenceName: string ,
type: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
ReceivedShares_ActivateTenantEmailRegistration (new)
Description Activates the email registration for current tenant
Reference Link ¶

⚼ Request

POST:  /emails:activate
{
api-version: string ,
repeatability-request-id: string ,
tenantEmailRegistration:
{
properties:
{
activationCode: string ,
activationExpiration: string ,
email: string ,
registrationStatus: enum ,
state: enum ,
tenantId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
activationCode: string ,
activationExpiration: string ,
email: string ,
registrationStatus: enum ,
state: enum ,
tenantId: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
ReceivedShares_RegisterTenantEmailRegistration (new)
Description Register an email for the current tenant
Reference Link ¶

⚼ Request

POST:  /emails:register
{
api-version: string ,
repeatability-request-id: string ,
}

⚐ Response (200)

{
properties:
{
activationCode: string ,
activationExpiration: string ,
email: string ,
registrationStatus: enum ,
state: enum ,
tenantId: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}