Child pages
  • Get List of Blueprints
Skip to end of metadata
Go to start of metadata

To get the list of all blueprints, use the following request:

GET /blueprints.xml
GET /blueprints.json

XML Request example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/blueprints.xml


JSON Request example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/blueprints.json


XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<blueprints type="array">
 <blueprint>
  <blueprint_template_id type="integer">1</blueprint_template_id>
  <created_at type="datetime">2013-06-04T15:31:25+03:00</created_at>
  <customer_network_id type="integer">14</customer_network_id>
  <data_store_id type="integer">5</data_store_id>
  <id type="integer">9</id>
  <identifier>x12wptaopx61sh</identifier>
  <label>test</label>
  <state>off</state>
  <updated_at type="datetime">2013-06-04T15:31:25+03:00</updated_at>
  <user_id type="integer">1</user_id>
 </blueprint>
</blueprints>

Where:

blueprint_template_id - ID of a template the blueprint is built from

created_at - the date when the blueprint was created in the [YYYY][MM][DD]T[hh][mm][ss]Z format

updated_at - the date when the blueprint was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format

customer_network_id - ID of a customer network

data_store_id - ID of a data store the blueprint belongs to

id - blueprint ID

identifier -blueprint identifier

label - blueprint name

state - blueprint state: on or off

user_id - ID of a user the blueprint belongs to

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels