API Teams

deby edited this page Jan 13, 2017 · 4 revisions

school idol tomodachi

List of features

School Idol Tomodachi Cards

School Idol Tomodachi Profile

School Idol Tomodachi Activities

School Idol Tomodachi Events

School Idol Festival, the game

Contact us

Help us!

Developers

Clone this wiki locally

School Idol API - Idols endpoint

See also: Full API Documentation

A team is composed of 9 unique owned cards with a fixed position.

Objects

Name Type Example Note
id Int 1
name String "Hanayo <3"
owner_account Int 1 id of the account
members Array of Owned card or null Will always contain exactly 9 items

Methods

Get the list of teams

GET http://schoolido.lu/api/teams/
Response

Paginated array of Team object

Optional parameters for filtering
Name Value Note
search Free search term, break terms with spaces. Will search through name
owner_account Exact value (id)

Get a team by id

GET http://schoolido.lu/api/teams/{id}/
Response

Team object

Authenticated methods

See also: Authentication

Add a team

POST http://schoolido.lu/api/teams/
Response

Team object

POST parameters
Name Value Note Default value
name Exact value name of the team Required
owner_account Exact value id of the account Required
memberN where N is a number between 1 and 9 id of the Owned card N corresponds to the position in the team null

Edit a team

PATCH http://schoolido.lu/api/teams/{team id}/
Response

Team object

POST parameters
Name Value Note
name Exact value name of the team
memberN where N is a number between 1 and 9 id of the Owned card N corresponds to the position in the team

Delete a team

DELETE http://schoolido.lu/api/teams/{team id}/
Response

204 NO CONTENT with an empty body.

Parameters

No parameter.