SEOTOASTER 2.0 Documentation: Store API for developers
Class

Api_Store_Groups

class Api_Store_Groups extends Api_Service_Abstract

Groups REST API controller

Methods

JSON getAction()

Get groups data

JSON postAction()

New group creation

putAction()

JSON deleteAction()

Delete group

Details

at line 44
public JSON getAction()

Get groups data

Resourse:
: /api/store/groups/id/:id

HttpMethod:
: GET

## Parameters:
groupId (type string)
: Group Id

pairs (type sting)
: If given data will be returned as key-value array

Return Value

JSON List of groups

at line 70
public JSON postAction()

New group creation

Resourse:
: /api/store/groups/

HttpMethod:
: POST

Return Value

JSON New group model

at line 107
public putAction()

at line 127
public JSON deleteAction()

Delete group

Resourse:
: /api/store/groups/

HttpMethod:
: DELETE

## Parameters:
id (type integer)
: group ID to delete

Return Value

JSON Result of operations