I'm working with the List Gallery REST Endpoint and when I retrieve the list of content, it appears that not all galleries are displayed.
Sample of my (poorly anonymized) returned data (only showing the last record):
{ "Name": "My Interesting Gallery", "Title": "My Interesting Gallery", "Key": "interesting-gallery", "Description": "My Interesting Gallery to be used with Parent Group Name", "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/m/interesting-gallery", "Group": { "AvatarUrl": "https://community-name.domain.local/cfs-file/__key/communityserver-components-groupavatars/00-00-00-01-89/MyInterestingGalleries_5F00_GroupIcon.png", "DateCreated": "2023-03-23T15:57:14.82", "Description": "Customizations for Parent Group Name", "Key": "parent-group", "Name": "Parent Group Name", "ParentGroupId": 124, "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/", "TotalMembers": 1, "HasGroups": false, "GroupCount": 0, "GroupType": "Joinless", "EnableGroupMessages": false, "EnableContact": false, "SearchUniqueId": "752eff14-6e9f-436a-88c3-e92d4773c66b", "IsEnabled": true, "ExtendedAttributes": [ { "Key": "EnableGroupMessages", "Value": "False" }, { "Key": "EnableContact", "Value": "False" }, { "Key": "AvatarUrl", "Value": "~/cfs-file/__key/system/images/defaulthub.gif" } ], "ContainerId": "752eff14-6e9f-436a-88c3-e92d4773c66b", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "Container": { "ContainerId": "752eff14-6e9f-436a-88c3-e92d4773c66b", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "HtmlName": "Parent Group Name", "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/", "AvatarUrl": "https://community-name.domain.local/cfs-file/__key/communityserver-components-groupavatars/00-00-00-01-89/MyInterestingGalleries_5F00_GroupIcon.png" }, "Id": 189 }, "Owners": [ { "AvatarUrl": "https://community-name.domain.local/cfs-file/__key/communityserver-components-avatars/default.png", "DisplayName": "Registered Member Numero Uno", "ProfileUrl": "https://community-name.domain.local/members/member1", "Username": "Member1", "CurrentStatus": null, "Id": 102027 } ], "DateCreated": "2023-03-23T15:58:03.467", "LatestPostDate": "2023-11-22T02:41:40.46", "Enabled": true, "PostCount": 161, "CommentCount": 0, "SearchUniqueId": "bf10c920-cab9-4141-b14c-ca968dad4be5", "Application": { "ApplicationId": "bf10c920-cab9-4141-b14c-ca968dad4be5", "ApplicationTypeId": "a0753cfb-923b-4975-ad2a-42e5282a6d5d", "HtmlName": "My Interesting Gallery", "HtmlDescription": "My Interesting Gallery to be used with Parent Group Name", "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/m/interesting-gallery", "AvatarUrl": null, "Container": { "ContainerId": "752eff14-6e9f-436a-88c3-e92d4773c66b", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "HtmlName": "Parent Group Name", "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/", "AvatarUrl": "https://community-name.domain.local/cfs-file/__key/communityserver-components-groupavatars/00-00-00-01-89/MyInterestingGallery_5F00_GroupIcon.png" } }, "ExtendedAttributes": [], "Id": 81 }
We have (at least) one gallery which was built and then Disabled so we could capture the URL, ID, etc. while we are waiting on seed content. That media gallery has ID 82.
When I make a Get Gallery REST Endpoint using the Gallery ID directly (82), I get the details (below).
{ "Name": "My Disabled Interesting Gallery", "Title": "My Disabled Interesting Gallery", "Key": "disabled-gallery", "Description": "My Disabled Interesting Gallery to be used with Parent Group Name", "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/m/disabled-gallery", "Group": { "AvatarUrl": "https://community-name.domain.local/cfs-file/__key/communityserver-components-groupavatars/00-00-00-01-89/MyInterestingGalleries_5F00_GroupIcon.png", "DateCreated": "2023-03-23T15:57:14.82", "Description": "Customizations for Parent Group Name", "Key": "parent-group", "Name": "Parent Group Name", "ParentGroupId": 124, "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/", "TotalMembers": 1, "HasGroups": false, "GroupCount": 0, "GroupType": "Joinless", "EnableGroupMessages": false, "EnableContact": false, "SearchUniqueId": "752eff14-6e9f-436a-88c3-e92d4773c66b", "IsEnabled": true, "ExtendedAttributes": [ { "Key": "EnableGroupMessages", "Value": "False" }, { "Key": "EnableContact", "Value": "False" }, { "Key": "AvatarUrl", "Value": "~/cfs-file/__key/system/images/defaulthub.gif" } ], "ContainerId": "752eff14-6e9f-436a-88c3-e92d4773c66b", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "Container": { "ContainerId": "752eff14-6e9f-436a-88c3-e92d4773c66b", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "HtmlName": "Parent Group Name", "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/", "AvatarUrl": "https://community-name.domain.local/cfs-file/__key/communityserver-components-groupavatars/00-00-00-01-89/MyInterestingGalleries_5F00_GroupIcon.png" }, "Id": 189 }, "Owners": [ { "AvatarUrl": "https://community-name.domain.local/cfs-file/__key/communityserver-components-avatars/default.png", "DisplayName": "Registered Member Numero Uno", "ProfileUrl": "https://community-name.domain.local/members/member1", "Username": "Member1", "CurrentStatus": null, "Id": 102027 } ], "DateCreated": "2023-03-23T15:58:25.203", "LatestPostDate": "2023-11-22T11:56:47.263", "Enabled": false, "PostCount": 1, "CommentCount": 0, "SearchUniqueId": "04cc7f49-f952-40a8-95a0-f1b3ad5bd7d6", "Application": { "ApplicationId": "04cc7f49-f952-40a8-95a0-f1b3ad5bd7d6", "ApplicationTypeId": "a0753cfb-923b-4975-ad2a-42e5282a6d5d", "HtmlName": "My Disabled Interesting Gallery", "HtmlDescription": "My Disabled Interesting Gallery to be used with Parent Group Name", "Url": "https://thwack.solarwinds.com/content-exchange/sql-sentry/m/custom-queries", "AvatarUrl": null, "Container": { "ContainerId": "752eff14-6e9f-436a-88c3-e92d4773c66b", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "HtmlName": "Parent Group Name", "Url": "https://community-name.domain.local/media-galleries-collection/parent-group/", "AvatarUrl": "https://community-name.domain.local/cfs-file/__key/communityserver-components-groupavatars/00-00-00-01-89/MyInterestingGalleries_5F00_GroupIcon.png" }, }, "ExtendedAttributes": [], "Id": 82 }
But if I try to enumerate all galleries using the List Gallery REST Endpoint the collection stops at Gallery ID 81.
Is this normal and I just missed a note about it? How can I pull details about galleries (and any other applications) that are disabled?