/admin/pack/[pack name]/settings

This path in the APi deals with the settings for a pack. It allows you to modify and view the allowed players (if a private pack) and the testers. Please note that the pack name provided in these calls must have all non alphanumeric characters removed and case is sensitive.

GET /admin/pack/[pack name]/settings/allowedplayers/

This returns an array of usernames who are listed as testers for the pack.

PUT /admin/pack/[pack name]/settings/allowedplayers/

This replaces all the allowed players for the pack with the allowed players provided. Data provided must be a raw JSON Array of users.

POST /admin/pack/[pack name]/settings/allowedplayers/

This adds 1 or more allowed players to the pack. Data provided must be a raw JSON Array of users to add.

DELETE /admin/pack/[pack name]/settings/allowedplayers/

This removes all allowed players from the pack if no input provided, otherwise is a raw JSON Array is provided it will remove those user/s.

GET /admin/pack/[pack name]/settings/testers/

This returns an array of usernames who are listed as testers for the pack.

PUT /admin/pack/[pack name]/settings/testers/

This replaces all the testers for the pack with the testers provided. Data provided must be a raw JSON Array of users.

POST /admin/pack/[pack name]/settings/testers/

This adds 1 or more testers to the pack. Data provided must be a raw JSON Array of users to add.

DELETE /admin/pack/[pack name]/settings/testers/

This removes all testers from the pack if no input provided, otherwise is a raw JSON Array is provided it will remove those user/s.

api/admin/pack/settings.txt · Last modified: 2015/02/27 05:42 (external edit)