Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Commit

Permalink
pages/api_v1: added api url
Browse files Browse the repository at this point in the history
  • Loading branch information
booo committed Aug 26, 2011
1 parent 3f89523 commit e1836f6
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions pages/api_v1/api_v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,20 @@

This describes the resources that make up the official SpacialDB API v1. If you have any problems please contact [support](mailto:info@spacialdb.com?subject=API+Support). SpacialDB has a RESTful query API that let you perform Create, Read, Update and Delete operations on you core Geospatial Layers. These layers need to conform to SpacialDB's standard schema. More details on standard schema can be found at [[spacialdb standard schema]] page.

## URL

You can reach version 1.0 of the API via http

http://api.spacialdb.com/1/

or via https

https://api.spacialdb.com/1/

---

<div name='layer_resource'></div>
## Layer resource
## Layer resource
The Layer resource maps to a SpacialDB table. It can store geospatial features and key-value attributes.

---
Expand Down Expand Up @@ -162,7 +172,7 @@ DELETE /users/:user/layers/:layername/:id?key=<accessKey>
```bash
GET /users/:user/layers/:layername?key=<accessKey>
```


###Input:
* **key**
Expand Down Expand Up @@ -393,7 +403,7 @@ GET /users/:user/layers/:layername/functions/intersects?key=<accessKey>&input=<g
###Url:

```bash
GET /users/:user/layers/:layername/functions/st_within?key=<accessKey>&input=<geometry>
GET /users/:user/layers/:layername/functions/within?key=<accessKey>&input=<geometry>
```

###Input:
Expand Down

0 comments on commit e1836f6

Please sign in to comment.