landscape/api cannot where to input query commands
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
hi guys cannot seem to input query commands , all i get is "Query API Service" i cannot see where must i input.
example also how to call
Example call:
?action=GetGPGKeys&names.1=mykey
landscape
add a comment |Â
up vote
0
down vote
favorite
hi guys cannot seem to input query commands , all i get is "Query API Service" i cannot see where must i input.
example also how to call
Example call:
?action=GetGPGKeys&names.1=mykey
landscape
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
hi guys cannot seem to input query commands , all i get is "Query API Service" i cannot see where must i input.
example also how to call
Example call:
?action=GetGPGKeys&names.1=mykey
landscape
hi guys cannot seem to input query commands , all i get is "Query API Service" i cannot see where must i input.
example also how to call
Example call:
?action=GetGPGKeys&names.1=mykey
landscape
asked May 10 at 7:36
theo
62
62
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Here is documentation about API you are trying to use:
https://landscape.canonical.com/static/doc/api/gpg.html?highlight=gpg
To start with API please visit https://landscape.canonical.com/static/doc/api/#getting-started-with-the-api
and confirm if you are using:
command-line client: easy to use, shell-script friendly
Python module: more powerful, recommended if you want to drive the API via Python
low-level HTTP requests: in the case you want to know what is going on or write a client for some other language
I personally prefer to use it via CLI (don't forget to source your LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, there is a handy file that you can create in your home directory for this)
I just run landscape-api get-gpg-keys on my server and since I do not have any the output was none
$ landscape-api get-gpg-keys
Hope this will help
Thanks
i did source LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, that this mean that i dont have the need for gpg keys to sign my repos ?
â theo
May 10 at 8:05
i also prefer the CLI
â theo
May 10 at 8:11
Hi @theo Can I please ask you to rewrite your question, and specify what are you trying to accomplish and also step by step with commands that you are using so we can replicate or advise you on the best way forward? Thanks
â bogdan
May 10 at 9:47
thanks for assisting @bofdan... i manage to get through it. all i wanted was a key to sign my repository. i generated a key to sign my repository.am sorted . thanks
â theo
May 11 at 8:20
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Here is documentation about API you are trying to use:
https://landscape.canonical.com/static/doc/api/gpg.html?highlight=gpg
To start with API please visit https://landscape.canonical.com/static/doc/api/#getting-started-with-the-api
and confirm if you are using:
command-line client: easy to use, shell-script friendly
Python module: more powerful, recommended if you want to drive the API via Python
low-level HTTP requests: in the case you want to know what is going on or write a client for some other language
I personally prefer to use it via CLI (don't forget to source your LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, there is a handy file that you can create in your home directory for this)
I just run landscape-api get-gpg-keys on my server and since I do not have any the output was none
$ landscape-api get-gpg-keys
Hope this will help
Thanks
i did source LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, that this mean that i dont have the need for gpg keys to sign my repos ?
â theo
May 10 at 8:05
i also prefer the CLI
â theo
May 10 at 8:11
Hi @theo Can I please ask you to rewrite your question, and specify what are you trying to accomplish and also step by step with commands that you are using so we can replicate or advise you on the best way forward? Thanks
â bogdan
May 10 at 9:47
thanks for assisting @bofdan... i manage to get through it. all i wanted was a key to sign my repository. i generated a key to sign my repository.am sorted . thanks
â theo
May 11 at 8:20
add a comment |Â
up vote
0
down vote
Here is documentation about API you are trying to use:
https://landscape.canonical.com/static/doc/api/gpg.html?highlight=gpg
To start with API please visit https://landscape.canonical.com/static/doc/api/#getting-started-with-the-api
and confirm if you are using:
command-line client: easy to use, shell-script friendly
Python module: more powerful, recommended if you want to drive the API via Python
low-level HTTP requests: in the case you want to know what is going on or write a client for some other language
I personally prefer to use it via CLI (don't forget to source your LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, there is a handy file that you can create in your home directory for this)
I just run landscape-api get-gpg-keys on my server and since I do not have any the output was none
$ landscape-api get-gpg-keys
Hope this will help
Thanks
i did source LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, that this mean that i dont have the need for gpg keys to sign my repos ?
â theo
May 10 at 8:05
i also prefer the CLI
â theo
May 10 at 8:11
Hi @theo Can I please ask you to rewrite your question, and specify what are you trying to accomplish and also step by step with commands that you are using so we can replicate or advise you on the best way forward? Thanks
â bogdan
May 10 at 9:47
thanks for assisting @bofdan... i manage to get through it. all i wanted was a key to sign my repository. i generated a key to sign my repository.am sorted . thanks
â theo
May 11 at 8:20
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Here is documentation about API you are trying to use:
https://landscape.canonical.com/static/doc/api/gpg.html?highlight=gpg
To start with API please visit https://landscape.canonical.com/static/doc/api/#getting-started-with-the-api
and confirm if you are using:
command-line client: easy to use, shell-script friendly
Python module: more powerful, recommended if you want to drive the API via Python
low-level HTTP requests: in the case you want to know what is going on or write a client for some other language
I personally prefer to use it via CLI (don't forget to source your LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, there is a handy file that you can create in your home directory for this)
I just run landscape-api get-gpg-keys on my server and since I do not have any the output was none
$ landscape-api get-gpg-keys
Hope this will help
Thanks
Here is documentation about API you are trying to use:
https://landscape.canonical.com/static/doc/api/gpg.html?highlight=gpg
To start with API please visit https://landscape.canonical.com/static/doc/api/#getting-started-with-the-api
and confirm if you are using:
command-line client: easy to use, shell-script friendly
Python module: more powerful, recommended if you want to drive the API via Python
low-level HTTP requests: in the case you want to know what is going on or write a client for some other language
I personally prefer to use it via CLI (don't forget to source your LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, there is a handy file that you can create in your home directory for this)
I just run landscape-api get-gpg-keys on my server and since I do not have any the output was none
$ landscape-api get-gpg-keys
Hope this will help
Thanks
answered May 10 at 7:59
![](https://i.stack.imgur.com/ohHGF.jpg?s=32&g=1)
![](https://i.stack.imgur.com/ohHGF.jpg?s=32&g=1)
bogdan
123112
123112
i did source LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, that this mean that i dont have the need for gpg keys to sign my repos ?
â theo
May 10 at 8:05
i also prefer the CLI
â theo
May 10 at 8:11
Hi @theo Can I please ask you to rewrite your question, and specify what are you trying to accomplish and also step by step with commands that you are using so we can replicate or advise you on the best way forward? Thanks
â bogdan
May 10 at 9:47
thanks for assisting @bofdan... i manage to get through it. all i wanted was a key to sign my repository. i generated a key to sign my repository.am sorted . thanks
â theo
May 11 at 8:20
add a comment |Â
i did source LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, that this mean that i dont have the need for gpg keys to sign my repos ?
â theo
May 10 at 8:05
i also prefer the CLI
â theo
May 10 at 8:11
Hi @theo Can I please ask you to rewrite your question, and specify what are you trying to accomplish and also step by step with commands that you are using so we can replicate or advise you on the best way forward? Thanks
â bogdan
May 10 at 9:47
thanks for assisting @bofdan... i manage to get through it. all i wanted was a key to sign my repository. i generated a key to sign my repository.am sorted . thanks
â theo
May 11 at 8:20
i did source LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, that this mean that i dont have the need for gpg keys to sign my repos ?
â theo
May 10 at 8:05
i did source LANDSCAPE_API_KEY and LANDSCAPE_API_SECRET, that this mean that i dont have the need for gpg keys to sign my repos ?
â theo
May 10 at 8:05
i also prefer the CLI
â theo
May 10 at 8:11
i also prefer the CLI
â theo
May 10 at 8:11
Hi @theo Can I please ask you to rewrite your question, and specify what are you trying to accomplish and also step by step with commands that you are using so we can replicate or advise you on the best way forward? Thanks
â bogdan
May 10 at 9:47
Hi @theo Can I please ask you to rewrite your question, and specify what are you trying to accomplish and also step by step with commands that you are using so we can replicate or advise you on the best way forward? Thanks
â bogdan
May 10 at 9:47
thanks for assisting @bofdan... i manage to get through it. all i wanted was a key to sign my repository. i generated a key to sign my repository.am sorted . thanks
â theo
May 11 at 8:20
thanks for assisting @bofdan... i manage to get through it. all i wanted was a key to sign my repository. i generated a key to sign my repository.am sorted . thanks
â theo
May 11 at 8:20
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034376%2flandscape-api-cannot-where-to-input-query-commands%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password