Useful Tip:
You can recordr to store any type text-based data you'd like.
Getting started with Recordr is easy. There are no software packages to install, as everything is API-driven. The one thing that Recordr does require is a Padloq account. Padloq is our free OAuth login and application authorization app. We also built Padloq.
Get PadloqRecordr provides a RESTful API to create, query, modify, and delete collections, records, and fields.
You can recordr to store any type text-based data you'd like.
POST - http://api.recordr.podleo.com/recordr/{collection_name}
HEADERS:
Content-Type: application/json
Authorization: Bearer {padloq_token}
BODY:
{
"field_1" : "value",
"field_2" : "value2"
}
RESPONSE BODY:
{
"key": "value"
}
POST - http://api.recordr.podleo.com/recordr/{collection_name}
HEADERS:
Content-Type: application/json
Authorization: Bearer {padloq_token}
BODY:
{
"key" : "value",
"field_1" : "AnotherValue",
}
RESPONSE BODY:
{
"key": "value"
}
Increasing or decreasing is a great way to easily change usage without querying and adding or subtracting.
POST - http://api.recordr.podleo.com/recordr/{collection_name}
HEADERS:
Content-Type: application/json
Authorization: Bearer {padloq_token}
BODY:
{
"key" : "value",
"counter_1" : "++(1)"
}
RESPONSE BODY:
{
"key": "value"
}
Recordr uses the GraphQL language structure for querying.
POST - http://api.recordr.podleo.com/recordr/{collection_name}
HEADERS:
Content-Type: text/plain
Authorization: Bearer {padloq_token}
BODY:
{
query {
key
field_1
}
query_counters {
key
counter_1
}
}
With field filters:
{
query(key : "value") {
key
field_1
}
query_counters(key : "value") {
key
counter_1
}
}
RESPONSE BODY:
{
"query": [
{
"key": "value",
"field_1": "value"
}
],
"query_counters": [
{
"key": "value",
"counter_1": 14
}
]
}
Deleting a collection cannot be undone.
DELETE - http://api.recordr.podleo.com/recordr/{collection_name}
HEADERS:
Authorization: Bearer {padloq_token}
BODY:
None
RESPONSE BODY:
None - response codes only
Deleting a record cannot be undone.
DELETE - http://api.recordr.podleo.com/recordr/{collection_name}/{key}
HEADERS:
Authorization: Bearer {padloq_token}
BODY:
None
RESPONSE BODY:
None - response codes only
Deleting a collection cannot be undone.
DELETE - http://api.recordr.podleo.com/recordr/{collection_name}/fields/{field}
HEADERS:
Authorization: Bearer {padloq_token}
BODY:
None
RESPONSE BODY:
None - response codes only
GET - http://api.recordr.podleo.com/recordr
HEADERS:
Authorization: Bearer {padloq_token}
BODY:
None
RESPONSE BODY:
{
"collections": [
{
"name": "demo",
"scope": "admin"
}
]
}
GET - http://api.recordr.podleo.com/recordr/{collection_name}/acl
HEADERS:
Authorization: Bearer {padloq_token}
BODY:
None
RESPONSE BODY:
{
"entries": [
{
"subject": "padloq|root@padloq.io",
"scope": "admin"
}
]
}
POST - http://api.recordr.podleo.com/recordr/{collection_name}/acl
HEADERS:
Authorization: Bearer {padloq_token}
BODY:
{
"subject": "padloq|chris@padloq.io",
"scope": { admin | write | read }
}
RESPONSE BODY:
None - response codes only
POST - http://api.recordr.podleo.com/recordr/{collection_name}/callbacks/http
HEADERS:
Authorization: Bearer {padloq_token}
BODY:
{
"callbacks": [
{
"endpoint": "http://postb.in/3EcK9p87"
}
]
}
RESPONSE BODY:
None - response codes only
You can recordr to store any type text-based data you'd like. For examples, check out some samples here
GET - http://api.recordr.podleo.com/recordr/{collection_name}/callbacks/http
HEADERS:
Authorization: Bearer {padloq_token}
BODY:
None
RESPONSE BODY:
{
"callbacks": [
{
"endpoint": "http://postb.in/3EcK9p87"
}
]
}
How does Recordr work?
Recordr works as a sort-of database-as-a-service, in that you don't need to setup, create, or host your own database(s) to operate. You just connect via RESTful API and you're off. See the documentation above for specific examples.
If you're having trouble getting started, or have general questions, etc., please feel free to email help@recordr.io.
If you're having trouble with Padloq, please email help@padloq.io.