All URIs are relative to https://oas.mieuxvoter.fr
Method | HTTP request | Description |
---|---|---|
getUserCollection | GET /users | Retrieves the collection of Users. |
InlineResponse2005 getUserCollection()
Only administrators are allowed to access this.
import { } from '';
import * as fs from 'fs';
const configuration = .createConfiguration();
const apiInstance = new .AdministrationApi(configuration);
let body:.AdministrationApiGetUserCollectionRequest = {
// number | The collection page number (optional)
page: 1,
};
apiInstance.getUserCollection(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
page | [number] | The collection page number | (optional) defaults to 1 |
InlineResponse2005
- Content-Type: Not defined
- Accept: application/ld+json, application/json, text/html
Status code | Description | Response headers |
---|---|---|
200 | User collection response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]