Topsoil is an API that allows super duper Seed members to gain access to Seed, the best place to work in Toledo, Ohio.
Topsoil allows administrators to add users, cards, and plans to a database and revoke and assign access for members. It is the data that powers the keyless access system at Seed Coworking.
Request
GET api.seedcoworking.com/users?card={card.identifier}
Request
GET api.seedcoworking.com/users/{user_id}
Response
{
id: 1,
email: "[email protected]",
name: "Jimmy Page",
status: {
id: 1,
name: "Active"
},
created_at: "2012-06-06T18:49:25Z",
updated_at: "2012-06-06T18:49:25Z",
card: {
id: 1,
identifier: "ZFSTAEJCMF",
created_at: "2012-06-06T18:50:01Z",
updated_at: "2012-06-06T18:50:01Z"
},
plan: {
id: 1,
name: "Unlimited",
price: 175,
limit: 12,
created_at: "2012-05-16T11:32:12Z",
updated_at: "2012-05-16T11:32:12Z",
schedule: {
[{
day: {
name: "Monday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Tuesday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Wednesday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Thursday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Friday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Saturday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Sunday",
start: "00:00:00",
end: "23:59:59"
}
}]
}
}
}
Request
GET api.seedcoworking.com/users
Response
[{
user: {
id: 1,
email: "[email protected]",
name: "Jimmy Page",
created_at: "2012-06-06T18:49:25Z",
updated_at: "2012-06-06T18:49:25Z",
card: {
id: 1,
identifier: "ZFSTAEJCMF",
created_at: "2012-06-06T18:50:01Z",
updated_at: "2012-06-06T18:50:01Z"
},
plan: {
id: 1,
name: "Unlimited",
price: 175,
limit: 12,
created_at: "2012-05-16T11:32:12Z",
updated_at: "2012-05-16T11:32:12Z",
schedule: {
[{
day: {
name: "Monday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Tuesday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Wednesday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Thursday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Friday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Saturday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Sunday",
start: "00:00:00",
end: "23:59:59"
}
}]
}
}
},
user: {
id: 2,
email: "[email protected]",
name: "Robert Plant",
created_at: "2012-06-07T19:49:25Z",
updated_at: "2012-06-07T19:49:25Z",
card: {
id: 3,
identifier: "XHGDTARGD",
created_at: "2012-06-06T18:50:01Z",
updated_at: "2012-06-06T18:50:01Z"
},
plan: {
id: 2,
name: "Medium",
price: 85,
limit: 40,
created_at: "2012-05-16T12:00:18Z",
updated_at: "2012-05-16T12:00:18Z",
schedule: {
[{
day: {
name: "Monday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Tuesday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Wednesday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Thursday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Friday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Saturday",
start: "00:00:00",
end: "00:00:00"
},
day: {
name: "Sunday",
start: "00:00:00",
end: "00:00:00"
}
}]
}
}
}
}]
Request
GET api.seedcoworking.com/plans
Response
[{
plan: {
id: 1,
name: "Unlimited",
price: 175,
limit: 12,
created_at: "2012-05-16T11:32:12Z",
updated_at: "2012-05-16T11:32:12Z",
schedule: {
[{
day: {
name: "Monday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Tuesday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Wednesday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Thursday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Friday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Saturday",
start: "00:00:00",
end: "23:59:59"
},
day: {
name: "Sunday",
start: "00:00:00",
end: "23:59:59"
}
}]
}
},
plan: {
id: 2,
name: "Medium",
price: 85,
limit: 40,
created_at: "2012-05-16T12:00:18Z",
updated_at: "2012-05-16T12:00:18Z",
schedule: {
[{
day: {
name: "Monday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Tuesday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Wednesday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Thursday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Friday",
start: "09:00:00",
end: "17:59:59"
},
day: {
name: "Saturday",
start: "00:00:00",
end: "00:00:00"
},
day: {
name: "Sunday",
start: "00:00:00",
end: "00:00:00"
}
}]
}
}
}]