THIS IS A TEST PAGE

 

object(stdClass)#2653 (1) { ["docs"]=> object(stdClass)#2623 (6) { ["name"]=> string(10) "Ownest API" ["info"]=> string(490) "This reference helps you implement the RESTful Ownest API v2. This API uses a JSON format for output.
The Ownest API allows authorization using the OAuth 2.0 standard as documented here: https://tools.ietf.org/html/rfc6749.
Example cURL command:
curl -H "Accept: application/json" -H "Authorization: Bearer [ACCESS_TOKEN]" https://[HOSTNAME]/api/v2/users/me
" ["copyright"]=> string(21) "© Copyright 2021" ["doc_url"]=> string(12) "/api/docs/v2" ["api_url"]=> string(7) "/api/v2" ["resources"]=> array(1) { [0]=> object(stdClass)#2622 (12) { ["doc_url"]=> string(18) "/api/docs/v2/users" ["id"]=> string(5) "users" ["api_url"]=> string(7) "/api/v2" ["name"]=> string(5) "Users" ["short_description"]=> NULL ["full_description"]=> string(0) "" ["version"]=> string(2) "v2" ["formats"]=> NULL ["metadata"]=> NULL ["methods"]=> array(1) { [0]=> object(stdClass)#2649 (13) { ["doc_url"]=> string(21) "/api/docs/v2/users/me" ["name"]=> string(2) "me" ["apis"]=> array(1) { [0]=> object(stdClass)#2645 (4) { ["api_url"]=> string(16) "/api/v2/users/me" ["http_method"]=> string(3) "GET" ["short_description"]=> string(33) "Get profile of authenticated user" ["deprecated"]=> NULL } } ["formats"]=> NULL ["full_description"]=> string(54) "Get profile information of current authenticated user." ["errors"]=> array(1) { [0]=> object(stdClass)#2647 (3) { ["code"]=> int(401) ["description"]=> string(21) "Request unauthorized." ["metadata"]=> NULL } } ["params"]=> array(0) { } ["returns"]=> array(0) { } ["examples"]=> array(3) { [0]=> string(61) "REQUEST URL: # Get current profile /{domain}/api/v2/users/me " [1]=> string(222) "SUCCESS RESPONSE: { "id": 56, "first_name": "Jason", "last_name": "Roberts", "email": "jason.roberts@example.com", "created_at": "2019-12-17T13:05:44.485-07:00", "updated_at": "2019-12-17T13:44:02.589-07:00" } " [2]=> string(74) "FAIL RESPONSE: { "success": false, "error": "Request unauthorized." } " } ["metadata"]=> NULL ["see"]=> array(0) { } ["headers"]=> array(0) { } ["show"]=> bool(true) } } ["headers"]=> array(0) { } ["deprecated"]=> bool(false) } } } }