USER

GET

- GET /tag/me/all - Get all tags

return: (200) array of (tag + tagInfo) objects | (4xx-5xx) Error json

Data result:

[{
    "account_id": "66c2c671-892c-46c2-a6d3-5f72802f2bec",
    "game_id": "lol",
    "id": "8b9e9ed4-1fbc-4812-a03f-1f567b48d99b",
    "settings": {
      "format": "lowercase",
      "size": "default"
    },
    "dataSettings": null,
    "game_account_info": {
        "account_id": "8fqSAx6veh0g6paaP_mMtBCaE_Ae5ijAcBE_Q6tXwp7FSA",
        "puuid": "uSNpdartPQ8HIT_KhJTutWJxXzXYLgn2KQTTzDknruVZM5rz8KXmy2WePsdsuj8DhFJ-p5mpQM4z9w",
        "region": "euw",
        "summoner_id": "Y-ZlcXwYKQmX8Wbrb6atVYffDmdWNx5ZKGg8AtsT5Oy_7cg"
    },
    "size": 10,
    "tag_id": "LOL__RANKED_SOLO_SR__TIER",
    "user_id": "05e9ac42-b2db-4858-af6b-b5dda3710e7f",
    "created": 1519639337231,
    "included": false,
    "info": "{gameTagObject}"
}]

- [TODO] GET /tag/me/game/:gameID - Get tags by game

url:

  • gameID: game ID - type: STRING

return: (200) array of (tag + tagInfo) objects | (4xx-5xx) Error json

Data result:

[
    TODO
]

- [TODO] GET /tag/me/:id - Get tag by id

url:

  • id: tag ID - type: STRING

return: (200) (tag + tagInfo) objects | (4xx-5xx) Error json

Data result:

[
    TODO
]

PUT

- PUT /tag/me/create - Create a tag

data:

  • tag_id: gameTag ID - type: STRING

  • game_id: game ID - type: STRING

  • account_id: account ID (if needed) - type: STRING

  • settings: settings object (types: 'string', 'boolean', 'number') - type: OBJECT

return: (200) (tag + tagInfo) object | (4xx-5xx) Error json

Data result:

{
    "account_id": "66c2c671-892c-46c2-a6d3-5f72802f2bec",
    "created": 1522656773511,
    "game_id": "lol",
    "id": "4874c671-892c-46c2-a6d3-5f72802f2bec",
    "included": false,
    "settings": {
      "format": "lowercase",
      "size": "default"
    },
    "dataSettings": null,
    "game_account_info": {
        "account_id": "8fqSAx6veh0g6paaP_mMtBCaE_Ae5ijAcBE_Q6tXwp7FSA",
        "puuid": "uSNpdartPQ8HIT_KhJTutWJxXzXYLgn2KQTTzDknruVZM5rz8KXmy2WePsdsuj8DhFJ-p5mpQM4z9w",
        "region": "euw",
        "summoner_id": "Y-ZlcXwYKQmX8Wbrb6atVYffDmdWNx5ZKGg8AtsT5Oy_7cg"
    }
    "size": 10,
    "tag_id": "LOL__RANKED_SOLO_SR__TIER",
    "user_id": "05e9ac42-b2db-4858-af6b-b5dda3710e7f",
    "info": "{gameTagObject}"
}

POST

- POST /tag/me/:id/edit - Edit a tag

url:

  • id: tag ID - type: STRING

data:

  • tag_id: gameTag ID - type: STRING

  • game_id: game ID - type: STRING

  • account_id: account ID (if needed) - type: STRING

  • settings: settings object (types: 'string', 'boolean', 'number') - type: OBJECT

return:(200) updated tag or false (if unchanged) | (4xx-5xx) Error json

Data result:

{
    "account_id": "66c2c671-892c-46c2-a6d3-5f72802f2bec",
    "created": 1522656773511,
    "game_id": "lol",
    "id": "4874c671-892c-46c2-a6d3-5f72802f2bec",
    "included": false,
    "settings": {
      "format": "lowercase",
      "size": "default"
    },
    "dataSettings": null,
    "game_account_info": {
        "account_id": "8fqSAx6veh0g6paaP_mMtBCaE_Ae5ijAcBE_Q6tXwp7FSA",
        "puuid": "uSNpdartPQ8HIT_KhJTutWJxXzXYLgn2KQTTzDknruVZM5rz8KXmy2WePsdsuj8DhFJ-p5mpQM4z9w",
        "region": "euw",
        "summoner_id": "Y-ZlcXwYKQmX8Wbrb6atVYffDmdWNx5ZKGg8AtsT5Oy_7cg"
    }
    "size": 10,
    "tag_id": "LOL__RANKED_SOLO_SR__TIER",
    "user_id": "05e9ac42-b2db-4858-af6b-b5dda3710e7f"
}

DELETE

- DELETE /tag/me/:id/delete - Delete a tag

url:

  • id: tag ID - type: STRING

return:(200) true or false | (4xx-5xx) Error json

Data result:

true

results matching ""

    No results matching ""