Blood Bank is Railslove's static content repository, which ensures Railslove's heart keeps pumping. Without it, our API would be rather anaemic or might start coagulating. Check out railslove.com and api.railslove.com to see the juices flowing ^_^
Kudos and a big thank you to Travis CI for their excellent haemodialytic services!
after you added a new file whose content is to synced to the API and eventually Thorax (railslove.com) please rerun ruby create_file_list.rb
. We use file_list.json to manually sync the API with Blood Bank in case an error occurred or after we made changes to the data structure.
The easiest way to get your Twitter ID is to go here (thanks to Tim): http://twitter-id-from-username.heroku.com/YOUR_TWITTER_NAME
have to be in exactly this format (cf. Heart Chamber's /lib/string_helpers.rb, sluggify method):
YOURSTRING.underscore.parameterize(sep = '_')
examples:
"Tatjana Lajendäcker".underscore.parameterize(sep = '_')
# -> "tajana_lajendacker"
"9flats.com" # -> "9flats_com"
"SalesKing GmbH" # -> "sales_king_gmb_h"
Arrays in schemas:
{
"type": "object",
"properties": {
"keywords": {
"type": "array",
"items": { "type": "string" }
}
}
}
or:
{
"type": "object",
"title": "project",
"description": "A project",
"name": "project",
"properties": {
"name": {
"description": "the name of the project.",
"required": true,
"type": "string"
},
//[...]
"people": {
"type": "array",
"items": {
"type": "object",
"person": {
"slug": {
"description": "a project member's slug (FIRSTNAME_LASTNAME)",
"type": "string",
"required": true
},
"contact": {
"description": "defines whether this person is one of the project's contact persons",
"type": "boolean"
}
}
}
}
}