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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...