Skip to content
Matt Campbell edited this page Feb 23, 2015 · 4 revisions

Text Search API

In Development

/search/users/:id

  • User Name (First and Last)
  • User Email
  • User id (user_name)
    {
    "search_results": [
        {
            "active": true, 
            "email": "[email protected]", 
            "first_name": "First", 
            "id": 1, 
            "last_name": null, 
            "organization": "ASA", 
            "organization_id": 1, 
            "phone_alternate": null, 
            "phone_primary": null, 
            "role": null, 
            "scopes": [
                "user_admin"
            ], 
            "user_id": "admin", 
            "user_name": "admin"
        }
    ]
}

/search/platform_deployments/:id

  • Platform display name, partial search or full.
{
    "search_results": [
        {
            "array_id": 1, 
            "display_name": "Coastal Endurance OR Offshore Hybrid Profiler Mooring - Profiler", 
            "end_date": null, 
            "geo_location": {
                "coordinates": [
                    -124.95, 
                    44.37
                ], 
                "type": "Point"
            }, 
            "id": 24, 
            "reference_designator": "CE04OSHY-DP01B", 
            "start_date": null
        }
     ]
  }

/search/organization/:id

  • Organization name
{
    "search_results": [
        {
            "id": 1, 
            "organization_name": "ASA"
        }
    ]
}