Retrieve the notes for a player of a given team

GET {{baseUrl}}/{{version}}/playernotes/player/1?visible_to_player_only=1&sorting=desc&limit=5&indicator_id=6&team_id=100

This enables you to retrieve all of the player's notes of a given player on a specific team

Request Params

KeyDatatypeRequiredDescription
visible_to_player_onlynumbernullable

This flag acts as a filter to retrieve only the notes that are public | | sorting | string | | nullable | string | in:desc, asc | default:desc | | limit | number | | nullable | integer | default:50 | | indicator_id | number | | nullable | integer

The Indicator UID. This allow to filter the notes by indicator | | team_id | number | | nullable | integer

A valid Team UID. This allow to filter the notes by team |

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringA JWT token

RESPONSES

status: OK

{"error":false,"code":200,"message":"Returns the notes for this player.","response":{"current_page":1,"data":[],"first_page_url":"http://localhost:8000/v1/playernotes/player/955?page=1","from":null,"last_page":1,"last_page_url":"http://localhost:8000/v1/playernotes/player/955?page=1","links":[{"url":null,"label":"pagination.previous","active":false},{"url":"http://localhost:8000/v1/playernotes/player/955?page=1","label":"1","active":true},{"url":null,"label":"pagination.next","active":false}],"next_page_url":null,"path":"http://localhost:8000/v1/playernotes/player/955","per_page":"2","prev_page_url":null,"to":null,"total":0}}