Skip to content

finnoleary/Specs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

Specifications

Rotonde is a self-hosted, platform and programming language agnostic social media experiment. Its purpose is simply to share feeds of daily activity logs between its members. See this feed for an example.

You may browse the custom clients for inspiration.

Answer

The JSON structure for the Rotonde API.

The answer is the minimum required structure for the data answered by rotonde calls.

{
  "profile":
  {
    "name":"Devine Lu Linvega",
    "location":"Huahine",
    "position":"-16.812254, -150.989524",
    "color":"#72dec2",
    "avatar":"http://wiki.xxiivv.com/public.oscean/media/brand/logo.devine.lu.linvega.png",
    "tags": ["programming", "pictures"]
  },
  "feed":
  [
    {
      "time":"1497499200",
      "ref":"rotonde.monochromatic.co 1496203200",
      "text":"Nice work Ian!",
      "tag": "programming",
      "data":
      {
        "focus":"0.5",
        "sleep":"0.3"
      }
    },
    {
      "time":"1497326400",
      "media":"http://wiki.xxiivv.com/public.oscean/media/diary/339.jpg",
      "text":"Worked on the Rotonde specs.",
      "url":"http://xxiivv.com/index.htm",
    }
  ],
  "portal":
  [
    "rotonde.cblgh.org",
    "rotonde.monochromatic.co",
    "rotonde.brennan.pizza/feed.json",
    "rotonde.anxl.faith",
    "rotonde.electricgecko.de",
    "rotonde.attilam.com"
  ]
}

Profile

Profile information.

Name

Your display name.

Location

Current location.

Position

Current geoposition in decimal, not degree-hour.

Color

Hex value for display highlights.

Avatar*

A url to an image.

Glyph*

A single SVG path stroke data, created on a canvas of 300x300.

Tags*

An array of the tags that you can use in posts

Feed

Array of Entries, recommended limit of 30.

Time

Unixtime.

Media

Url to attached image, audio, video.

Ref

Url of distant rotonde instance, followed by unixtime.

Text

Text content of the entry.

Url

Attached URL of the entry.

Position

The entry's geoposition in decimal, not degree-hour.

Tag

The posts's tag. One per post.

Feed > Data

Feed data in the format of a string key, and a float value.

Focus(Example)

Float between 0 and 1, of the day's available time dedicated to task.

Nutrition(Example)

Float between 0 and 1, of the daily nutritional goal.

Sleep(Example)

Float between 0 and 1, of the daily sleep time goal.

Exercise(Example)

Float between 0 and 1, of the daily exercise goal.

Portal

Array of subscribed rotonde instance urls, recommended limit of 30.

About

The latest JSON specification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published