PHP Classes

File: tests/functional/001_records/083_list_users_as_geojson.log

Recommend this page to a friend!
  Classes of Punto Waskito   PHP CRUD API   tests/functional/001_records/083_list_users_as_geojson.log   Download  
File: tests/functional/001_records/083_list_users_as_geojson.log
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP CRUD API
Provide API to manipulate database table records
Author: By
Last change:
Date: 3 years ago
Size: 1,764 bytes
 

Contents

Class file image Download
skip-for-sqlite: no support for geometry functions (spatialite) === GET /geojson/users?exclude=password,api_key === 200 Content-Type: application/json; charset=utf-8 Content-Length: 227 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}},{"type":"Feature","id":2,"properties":{"username":"user2"},"geometry":null}]} === GET /geojson/users?exclude=password,api_key&geometry=location === 200 Content-Type: application/json; charset=utf-8 Content-Length: 227 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}},{"type":"Feature","id":2,"properties":{"username":"user2"},"geometry":null}]} === GET /geojson/users?exclude=password,api_key&geometry=notlocation === 200 Content-Type: application/json; charset=utf-8 Content-Length: 235 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1","location":"POINT(30 20)"},"geometry":null},{"type":"Feature","id":2,"properties":{"username":"user2","location":null},"geometry":null}]} === GET /geojson/users?exclude=password,api_key&page=1,1 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 163 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}}],"results":2} === GET /geojson/users?exclude=password,api_key&bbox=29.99,19.99,30.01,20.01 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 151 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}}]}