Launchpad API: accessing blueprint data

Asked by Swati Sharma

I'm trying to access and collect data on blueprints in Launchpad using launchpadlib library. I have managed to get data on bugs this way but there doesn't seem to be a documented way of doing the same for blueprints. Does anyone have an idea?

Question information

Language:
English Edit question
Status:
Expired
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Swati Sharma (swati-shukla1) said :
#1

I'm trying to access and collect data on blueprints in Launchpad using launchpadlib library. I have managed to get data on bugs this way but there doesn't seem to be a documented way of doing the same for blueprints. Does anyone have an idea?

Revision history for this message
William Grant (wgrant) said :
#2

A blueprint is referred to as a "specification" on the API, and they're only exposed on the devel API version, not 1.0. You can find specification-related calls on https://api.launchpad.net/+apidoc/devel.html.

Revision history for this message
Swati Sharma (swati-shukla1) said :
#3

Yes William, I am using the same.

h=lp.projects['horizon'].getSpecification(name='horizon-reports-in-different-formats')

to get the blueprint details. But, I am not able to find any method that can list all the blueprints for a particular assignee, or to list only my blueprints,etc. Any command??

I also checked your link, and it shows only about creating BPs.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.