-
Notifications
You must be signed in to change notification settings - Fork 28
API Owned Cards
deby edited this page Feb 18, 2017
·
8 revisions
See also: Full API Documentation
Name | Type | Example | Note |
---|---|---|---|
✅ id
|
Int | 1 | |
✅ owner_account
|
String | 1 | ID of the account in which this card is stored. Get the full Account object with expand_owner_account . Much slower. |
✅ card
|
Int | 530 | ID of the card. Get the full Card object with expand_card . Much slower. |
✅ stored
|
Stored choices | "Deck" | |
✅ idolized
|
Boolean | true | |
✅ max_level
|
Boolean | false | |
✅ max_bond
|
Boolean | true | |
expiration |
Date yyyy-MM-dd'T'HH:mm:ssZZZZZ
|
"2015-02-15T08:00:00Z" | Expiration of cards in the present box. UTC time zone. |
✅ skill
|
Int | 8 | Default: 1. Max: 8. |
-
stored:
Deck
,Album
,Box
,Favorite
GET http://schoolido.lu/api/ownedcards/
Paginated array of Owned card object
Name | Value | Note |
---|---|---|
owner_account |
Exact value | ID of the account in which the cards are stored |
card |
Exact value | ID of the card |
idolized |
Exact value | |
stored |
Exact value | |
max_level |
Exact value | |
max_bond |
Exact value | |
skill |
Exact value | Integer 1-8 |
card__name |
Exact value | Name of the idol in the card |
card__japanese_collection |
Exact value | |
card__rarity |
Exact value | Allow multiple values separated with a comma: SR,UR
|
card__attribute |
Exact value | |
card__is_promo |
True or False
|
|
card__is_special |
True or False
|
|
card__japan_only |
True or False
|
|
card__hp |
Exact value | |
card__skill |
Exact value |
skill field of the card |
card__center_skill |
Exact value | |
minimum_skill |
Int | |
maximum_skill |
Int | |
card__is_event |
True or False
|
- Allowed ordering fields are:
owner_account
,card
,idolized
,stored
,max_level
,max_bond
,skill
,card__name
,card__japanese_collection
,card__rarity
,card__attribute
,card__is_promo
,card__is_special
,card__japan_only
,card__hp
,card__skill
,card__center_skill
- Ordering by
random
is possible. - Learn more about ordering
Name | Note |
---|---|
expand_card |
Will return the full Card object in the card field. Much slower. |
expand_owner_account |
Will return the full Account object in the owner_account field. Much slower. |
GET http://schoolido.lu/api/ownedcards/{id}/
See Get the list of owned cards.
See also: Authentication
- A promo card will always be idolized
- A special card will never be idolized
- Non idolized cards will never be max bonded or max leveled
- Cards in album will always have a skill level 1
The owned card objects will always respect these rules. Attempting to change one of these behaviors will not work, but you will not receive an error. Therefore, it's recommended to update your full objects when you receive a response (and not just what you edited) to make sure it really corresponds to what's in database.
POST http://schoolido.lu/api/ownedcards/
Name | Value | Note | Default value |
---|---|---|---|
owner_account |
Exact value | id of the account | Required |
card |
Exact value | id of the card | Required |
stored |
Exact value | Stored choices | "Deck" |
idolized |
True or False
|
"False" | |
max_level |
True or False
|
"False" | |
max_bond |
True or False
|
"False" | |
skill |
Exact value | Skill level between 1 and 8 | 1 |
expiration |
Exact value | Date time when a card in the present box expires | null |
PATCH http://schoolido.lu/api/ownedcards/{owned card id}/
Name | Value | Note |
---|---|---|
stored |
Exact value | Stored choices |
idolized |
True or False
|
|
max_level |
True or False
|
|
max_bond |
True or False
|
|
skill |
Exact value | Skill level between 1 and 8 |
expiration |
Exact value | Date time when a card in the present box expires |
DELETE http://schoolido.lu/api/ownedcards/{owned card id}/
204 NO CONTENT
with an empty body.
No parameter.
- How to add an account to your profile?
- What's the difference between the deck, the album and the present box?
- How to add cards?
- How to edit a card?
- How to delete a card?
- Why my cards are not automatically imported?
- What if I play multiple versions of the game?
- How to add your location on the map?
- How to recover your password or username?
- How to delete an account?
- How to recover your comments on your profile page when you changed your username?
- How to change your avatar?
- How to check that you entered all your cards?
- How to get a verified account?
- Can someone steal my game account using the information on my profile page?
- I saved my transfer code on School Idol Tomodachi but I can't find it anymore?
- Can I delete my entire profile?
- What should I do if I see an activity that I don't like?
- How to post an activity?
- How to add a picture to your activity?
- Markdown
- How to recover my lost account?
- How to get promo cards?
- How to generate a transfer code?
- How to enter a transfer code?
- How to take screenshots?
- How to install Japanese apps?
- How to contact KLab?
- Do you speak another language? Translate the website
- Are you a graphic designer or an artist? Submit your artwork
- Extra time to spare? Join the staff team! (Community Managers, Moderators, Verifications, Japanese speakers, Database maintainers, and more)
- Want to help us pay for the servers that host the site? Donate