= l('api_documentation.parameters') ?> |
= l('global.details') ?> |
= l('global.description') ?> |
page |
= l('api_documentation.optional') ?> |
= l('api_documentation.filters.page') ?> |
results_per_page |
= l('api_documentation.optional') ?> |
= sprintf(l('api_documentation.filters.results_per_page'), '' . implode(' , ', [10, 25, 50, 100, 250, 500, 1000]) . ' ', 25) ?> |
search |
= l('api_documentation.optional') ?> |
= l('api_documentation.filters.search') ?> |
search_by |
= l('api_documentation.optional') ?> |
= sprintf(l('api_documentation.filters.search_by'), '' . implode(' , ', ['name', 'email']) . ' ') ?> |
order_by |
= l('api_documentation.optional') ?> |
= sprintf(l('api_documentation.filters.order_by'), '' . implode(' , ', ['email', 'datetime', 'last_activity', 'name', 'total_logins']) . ' ') ?> |
order_by_type |
= l('api_documentation.optional') ?> |
= l('api_documentation.filters.order_by_type') ?> |
{
"data": [
{
"id": 1,
"type": "1",
"name": "Example",
"email": "hey@example.com",
"language": "english",
"timezone": "Europe\/Bucharest",
"twofa": false,
"anti_phishing_code": true,
"is_newsletter_subscribed": true,
"billing": {
"type": "business",
"name": "John",
"address": "Lorem Ipsum",
"city": "Dolor",
"county": "Sit",
"zip": "3000",
"country": "US",
"phone": "+40404040",
"tax_id": "DD12345"
},
"status": true,
"plan_id": "custom",
"plan_expiration_date": "2023-03-08 00:00:00",
"plan_settings": {
...
},
"plan_trial_done": false,
"plan_expiry_reminder": false,
"payment_processor": "paypal",
"payment_total_amount": "9.95",
"payment_currency": "USD",
"payment_subscription_id": "sub_123123",
"user_deletion_reminder": false,
"source": "direct",
"ip": "127.0.0.1",
"continent_code": "NA",
"country": "US",
"city_name": "New-York",
"api_key": "123456789",
"referral_key": "987654321",
"referred_by": null,
"referred_by_has_converted": false,
"last_activity": "2023-01-21 00:25:28",
"total_logins": 1,
"datetime": "2019-08-22 19:21:23"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "= SITE_URL ?>admin-api/users?&page=1",
"last": "= SITE_URL ?>admin-api/users?&page=1",
"next": null,
"prev": null,
"self": "= SITE_URL ?>admin-api/users?&page=1"
}
}