API Application Programming Interface


All requests support cross-origin resource sharing (CORS) and SSL.

Get Data Retrieve Information From A number GET https://100a.io/:aid


Request

GET https://100a.io/:aid
Arguments:
  • Unique identifier for the Document :aid (str or bigint)
  • Your API Key (Optional) - apikey (string)

Response

- Requested Data Or {"s":"0", "msg": "Error Description"}
Arguments:
  • Document Data - Requested Data (any type)
  • Response status. 0-error or 1-success :s (bool)
  • In case of error :msg (string)
Javascript Code Sample:
$.ajax({
   method : "GET", 
   url : "https://100a.io/1"
}).done(
   function(r) {
      console.log(r)
   }
);						

Pack Data Pack Your Data To Get A Number POST https://100a.io/a


Request

POST https://100a.io/a
Arguments:
  • Data for processing - data * (string)
  • Your API Key (Members) - apikey* (string)
  • Your Email (Guests) - email* (string)
  • Document title - title (string)
  • For password protected data - privkey (string)
  • For private data - private (bool)
  • Collection ID - cid (bigint)
  • App ID (Yaml Data Expected) - tid (bigint)

Response

{"s":1,"a":"1912123123136","url":"/1912123123136","p":"","private":0}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
  • Generated A Number :a (bigint)
  • Generated URL :url (string)
  • Password for protected data :p (string)
  • Private flag. 0-private or 1-public :private (bool)
Javascript Code Sample:
$.ajax({
   method : "POST", 
   url  : "https://100a.io/a", 
   data : { 
      data : "Data String", 
      apikey : "Api key", 
      title : "Title"
   }
}).done(
   function(r) {
      console.log(r)
   }
);							

Delete Document Remove Document DELETE https://100a.io/a/:aid


Request

DELETE https://100a.io/a/:aid
Arguments:
  • A number :aid * (string)
  • Your API Key - apikey* (string)

Response

{"s":"1"}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
Javascript Code Sample:
$.ajax({
   method : "DELETE", 
   url : "https://100a.io/a/1",
   data : { 
      apikey : "Api key"
   }
}).done(
   function(r) {
      console.log(r)
   }
);							

Update Document Update Document By A NumberPUT https://100a.io/a/:aid


Request

PUT https://100a.io/a/:aid
Arguments:
  • A Number :aid * (int)
  • Your API Key - apikey* (string)
  • Document Title - title (string)
  • Document Data - data (string)
  • For Password Protected Documents - password (string)
  • Collection ID - cid (bigint)

Response

{"s":"1"}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
Javascript Code Sample:
$.ajax({
   type	: "PUT", 
   url : "https://100a.io/a/1",
   data : { 
      apikey : "Api Key", 	
      data : "New Data",
      title: "New Title"
   }
}).done(
   function(r) {
      console.log(r)
   }
);			

Move Document(s) To Another Collection Move Document To Another CollectionPUT https://100a.io/a/:cid/move


Request

PUT https://100a.io/a/:cid/move
Arguments:
  • Collection ID :cid * (bigint)
  • Your API Key - apikey* (string)
  • Comma separated A number(s) - ids * (string or bigint)

Response

{"s":"1"}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
Javascript Code Sample:
$.ajax({
   type	: "PUT", 
   url : "https://100a.io/a/12/move",
   data : { 
      apikey : "Api Key", 	
      ids : "48,41"
   }
}).done(
   function(r) {
      console.log(r)
   }
);			

Enable Document Enable Or Disable Your DocumentsPUT https://100a.io/a/:aid/enable


Request

PUT https://100a.io/a/:aid/enable
Arguments:
  • Document {A} Number :aid * (bigint)
  • Your API Key - apikey* (string)

Response

{"s":"1"}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
Javascript Code Sample:
$.ajax({
   type	: "PUT", 
   url : "https://100a.io/a/12/enable",
   data : { 
      apikey : "Api Key"
   }
}).done(
   function(r) {
      console.log(r)
   }
);			

Disable Document Enable Or Disable Your DocumentsPUT https://100a.io/a/:aid/disable


Request

PUT https://100a.io/a/:aid/disable
Arguments:
  • Document {A} Number :aid * (bigint)
  • Your API Key - apikey* (string)

Response

{"s":"1"}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
Javascript Code Sample:
$.ajax({
   type	: "PUT", 
   url : "https://100a.io/a/12/disable",
   data : { 
      apikey : "Api Key"
   }
}).done(
   function(r) {
      console.log(r)
   }
);			

Add Collection(s) Create Collection(s)POST https://100a.io/a/collection


Request

POST https://100a.io/a/collection
Arguments:
  • Comma separated collections names - collections * (string)
  • Your API Key - apikey* (string)

Response

{"s":"1"}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
Javascript Code Sample:
$.ajax({
   method : "POST", 
   url  : "https://100a.io/a/collection", 
   data : { 
      apikey : "Api key", 
      collections : "Col1, Col2"
   }
}).done(
   function(r) {
      console.log(r)
   }
);							

Get Collection(s) Get All Collection(s)GET https://100a.io/a/collection


Request

GET https://100a.io/a/collection
Arguments:
  • Your API Key - apikey* (string)

Response

{"s":1,"collections":[{"id":9,"title":"Col1"},{"id":10,"title":"Col2"}]}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
  • Collestions array :collections (array)
Javascript Code Sample:
$.ajax({
   method : "GET", 
   url  : "https://100a.io/a/collection", 
   data : { 
      apikey : "Api key"
   }
}).done(
   function(r) {
      console.log(r)
   }
);							

Update Collection Update collection informationPUT https://100a.io/a/collection/:id


Request

PUT https://100a.io/a/collection/:id
Arguments:
  • Collections ID :id * (bigint)
  • Your API Key - apikey* (string)
  • Title - title* (string)

Response

{"s":"1"}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
Javascript Code Sample:
$.ajax({
   method : "PUT", 
   url  : "https://100a.io/a/collection", 
   data : { 
      apikey : "Api key", 
      title : 'New name'
   }
}).done(
   function(r) {
      console.log(r)
   }
);							

Delete Collection Delete collectionDELETE https://100a.io/a/collection/:id


Request

DELETE https://100a.io/a/collection/:id
Arguments:
  • Collections ID :id * (bigint)
  • Your API Key - apikey* (string)

Response

{"s":"1"}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
Javascript Code Sample:
$.ajax({
   method : "DELETE", 
   url  : "https://100a.io/a/collection/1", 
   data : { 
      apikey : "Api key"
   }
}).done(
   function(r) {
      console.log(r)
   }
);							

Get App YAML Get YAML scheme of the App GET https://100a.io/a/apps/:id/yaml


Request

GET https://100a.io/a/apps/:id/yaml
Arguments:
  • App ID :id * (bigint)

Response

{"s":"1","yamlschema":"..."}
Arguments:
  • Response status. 0-error or 1-success :s (bool)
  • YAML Schema. :yamlschema (string)
Javascript Code Sample:
$.ajax({
   method : "GET", 
   url  : "https://100a.io/a/template/1/yaml"
}).done(
   function(r) {
      console.log(r)
   }
);