> For the complete documentation index, see [llms.txt](https://docs.ionos.com/container-registry-sdk-nodejs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/container-registry-sdk-nodejs/api/locationsapi.md).

# LocationsApi

All URIs are relative to *<https://api.ionos.com/containerregistries>*

| Method                            | HTTP request       | Description                      |
| --------------------------------- | ------------------ | -------------------------------- |
| [**locationsGet**](#locationsget) | **GET** /locations | Get container registry locations |

## locationsGet

> locationsGet

Get container registry locations

### Examples

```javascript
const ionoscloud = require('@ionos-cloud/sdk-nodejs-container-registry');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LocationsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get container registry locations
api_instance
  .locationsGet()
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
```

### Parameters

This endpoint does not need any parameter.

### Return type

[**LocationsResponse**](/container-registry-sdk-nodejs/models/locationsresponse.md)

### Authorization

basicAuth, tokenAuth

### HTTP request headers

* **Content-Type**: Not defined
* **Accept**: application/json
