Jump to content

Question

Posted

I'm having trouble using the domain managers API.

The app api controller says I can access plugin public model methods.

<?php

/**
 * A RESTful API system for interacting with the Blesta backend.
 *
 * All public model methods are accessible. Plugin models may also be invoked by
 * simply formatting the model as Plugin.Model
 * (e.g. /api/plugin.model/method.format). Supports XML, JSON, and PHP as format
 * types.
 *
 * @package blesta
 * @subpackage blesta.app.controllers
 * @copyright Copyright (c) 2010, Phillips Data, Inc.
 * @license http://www.blesta.com/license/ The Blesta License Agreement
 * @link http://www.blesta.com/ Blesta
 */

 

What's an example of a good url?    I've tried lots of combos....  I've also verified that I am correctly authenticating and passing the required params, but keep getting 415.

https://[my.blesta.com]/api/plugin/domains/getlist.json?client_id=1
https://[my.blesta.com]/api/plugin.domains/getlist.json?client_id=1

415
b'{"message":"The format requested is not supported by the server.","response":null}'

 

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...