Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.93 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.93 KB

Building a Chrome-plugin for http://eth0.se

Anyone can help out and everyone will be credited on this page for their work. Please submit a pull request and we'll include it as soon as we've verified it.

API overview

Create a New eth0.se

All requests must be made using HTTP GET. The href parameter should be URL-encoded.

HTTP Status Codes

  • 200 - We created (or found, if it already exists) an eth0.se and will display in requested format
  • 302 - Used when redirecting to target HREF
  • 400 - There was a problem with the href parameter.

Lookup an eth0.se

All requests must be made using HTTP GET. The code parameter is 1-6 character alpha-numeric.

HTTP Status Codes

  • 200 - We found the eth0.se and will display in requested format
  • 302 - Used when redirecting to target HREF
  • 404 - We couldn't find the requested eth0.se

eth0.se Formats

eth0.se records can be displayed in HTML, JSON, XML and text formats.

Examples in JSON:

JSON

{"code":"1","href":"http://www.google.com/"}

Credits:

This page is more or less borrowed from, https://github.com/ajstiles/urly/wiki. Thanks!