Field Calendar
new_field-calendar
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
new_calendar
parameters*
JSON
check method parameters
new_field-calendar Method Parameters
fieldId
string
Field Id.
calendarId
string
Calendar Id.
description
string
The field calendar name (e.g. PSG 2025-26)
image
string
An image base64 encoded.
new_field-calendar API Call Example
new_field-calendar Call Response
When the API call is successfully executed, it returns the fieldId
and calendarId
used to create the calendar and the related data, including the name and the image IPFS url.
list_field-calendars
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
list_field-calendars
parameters
JSON
check method parameters
list_field-calendars Method Parameters (optional)
field_id
string
Field Id
list_field-calendars API Call Example
list_field-calendars Call Response
When the API call is successfully executed, it returns the calendars list linked to the provided field.
delete_field-calendar
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
delete_calendar
parameters*
JSON
check method parameters
delete_field-calendar Method Parameters
fieldId
string
The Filed Id we used to create the relationship we want to delete.
calendarId
string
The Calendar Id we used to create the relatinship to delete.
delete_field-calendar API Call Example
delete_field-calendar Call Response
When the API call is executed without errors, it returns a successful status code.
Last updated