profileMediaAssets
Returns every file in the profile's media library, including files still processing. Requires being signed in and able to edit the profile (an owner or admin member, or a member of a space that manages it).
Arguments
profileIdID!ID of the profile.
Returns
[ProfileMediaAsset!]!Example
query ProfileMediaAssets($profileId: ID!) {
profileMediaAssets(profileId: $profileId) {
__typename
... on ProfileMediaAudioAsset {
audioUrl
caption
contentType
createdAt
durationMs
id
kind
profileId
}
... on ProfileMediaImageAsset {
caption
createdAt
focalX
focalY
id
kind
photographer
profileId
}
... on ProfileMediaVideoAsset {
caption
createdAt
id
kind
previewEndMs
previewStartMs
profileId
status
}
}
}