Home

WebringDirAPI - Docs

All endpoints:

/add - POST
/get - GET
/get/<name> - GET
/report/<name> - GET

/add - POST

Add a new webring

Send

{
  "name": "example",
  "url": "https://example.com",
  "desc": "optional description"
}

Response

{
  "message": "added",
  "name": "example"
}

/get - GET

Get a list of all webrings

Response

List of all the webrings in JSON

/get/<name> - GET

Get a specific webring by name

Response

{
  "url": "https://example.com",
  "desc": "empty"
}

/report/<name> - GET

Report a webring that breaks the rules or abuses the API

Response

{"message": "reported"}

Error responses