GET

List Media


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a location's media items from Google.

Each item includes the media key you need to delete it. Media isn't stored for the site, so this always reflects what's on the Business Profile now.

That means it lags behind anything still queued through Bulk Create Media Uploads. If a submission is still being applied, combine this with List Media Uploads to show what the site owner asked for. Count only changes still on their way, since a failed addition never reached Google:

Copy

Errors:

  • NOT_FOUND: the location isn't recorded for this site. Google isn't called.
  • GOOGLE_API_CALL_FAILED: the call to Google failed. Google's status and response are in the error payload.
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage SEO Settings
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/gbp/v1/locations/{locationId}/media

Errors
500Internal

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?