Child pages
  • Get Blueprint Details
Skip to end of metadata
Go to start of metadata

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

GET /blueprints/:blueprint_id.xml
GET /blueprints:blueprint_id.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/:blueprint_id.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/:blueprint_id.json


XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<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>

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