Thanks to visit codestin.com
Credit goes to github.com

Skip to content

poll loomio api data #76

@ahdinosaur

Description

@ahdinosaur

it's possible we poll loomio api data to materialize a API compatible with Value Flows agent such that

curl http://holodex.enspiral.com/api/loomio/agents/g48DQjS5

returns

{
  "id": "http://holodex.enspiral.com/loomio/people/g48DQjS5",
  "type": "Person",
  "sameAs": "http://holodex.enspiral.com/people/mikey",
  "name": "Mikey",
  "email": "[email protected]",
  "image": "https://loomio-attachments.s3.amazonaws.com/users/uploaded_avatars/000/016/644/large/mikey_avatar_small.jpg?1402201316",
  "isMemberOf": [
    "http://holodex.enspiral.com/loomio/groups/1xCPyY46",
    ...
  ]
}

or

curl http://holodex.enspiral.com/api/loomio/groups/1xCPyY46

returns

{
  "id": "http://holodex.enspiral.com/loomio/groups/1xCPyY46",
  "type": "Group",
  "sameAs": "http://holodex.enspiral.com",
  "name": "Enspiral",
  "image": "https://loomio-attachments.s3.amazonaws.com/groups/logos/000/000/002/medium/enspirallogo120.jpg?1406163329",
  "banner": "https://loomio-attachments.s3.amazonaws.com/groups/cover_photos/000/000/002/desktop/croppedenspiralites.jpg?1406163668",
  "hasMember": [
    "http://holodex.enspiral.com/loomio/people/g48DQjS5",
    ...
  ]
}

no idea how to poll loomio though. /cc @loomio

just a random idea. 🌸

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions