Jump to content

[REST API] POST /core/clubs to accept "photo" and "paid"


Recommended Posts

Posted

As you know, 

GET /core/clubs/{id}

endpoint yields various fields, such as "photo" and "paid". We would like to be able to pass these two parameters when POSTing. "photo" field can even be a URL to the resource. Thanks.

Posted

Hi,

the POST endpoint contains already the join and renew fee parameters.

* @apiparam	\IPS\nexus\Money		joiningFee	Cost to join the club (Nexus must be installed, paid clubs must be enabled, and the owner must be allowed to create paid clubs)
* @apiparam	\IPS\nexus\Purchase\RenewalTerm		renewalTerm	Renewal term for the club (joiningFee must be set)

 

  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...