...
FooBarSprocket offers two public methods and one private method. Both FooBarSprocket::create() and FooBarSprocket::delete() are made available via the API at the following URLs, respectively:
Note | ||
---|---|---|
| ||
We highly recommend using CamelCase when referencing models. This behavior is required for plugin models since version 4.0. |
No Format |
---|
(Supported by all Blesta versions): https://yourdomain.com/installpath/index.php/api/FooBar.FooBarSprocket/create.json?vars[price]=1.99 https://yourdomain.com/installpath/api/FooBar.FooBarSprocket/delete.json?sprocket_id=123 (Supported by Blesta versions pre-4.0): https://yourdomain.com/installpath/api/foo_bar.foo_bar_sprocket/create.json?vars[price]=1.99 https://yourdomain.com/installpath/index.php/api/foo_bar.foo_bar_sprocket/delete.json?sprocket_id=123 |
...