Method: namespaces.list

Lists all attachment namespaces owned by your Google Developers Console project. Attachment data associated with a beacon must include a namespaced type, and the namespace must be owned by your project.

Authenticate using an OAuth access token from a signed-in user with viewer, Is owner or Can edit permissions in the Google Developers Console project.

HTTP request

GET https://proximitybeacon.googleapis.com/v1beta1/namespaces

The URL uses Google API HTTP annotation syntax.

Query parameters

Parameters
projectId

string

The project id to list namespaces under. Optional.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response to ListNamespacesRequest that contains all the project's namespaces.

JSON representation
{
  "namespaces": [
    {
      object(Namespace)
    }
  ],
}
Fields
namespaces[]

object(Namespace)

The attachments that corresponded to the request params.

Authorization

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/userlocation.beacon.registry

For more information, see the Auth Guide.