landscape/api cannot where to input query commands

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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







share|improve this question
























    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







    share|improve this question






















      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







      share|improve this question












      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









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 10 at 7:36









      theo

      62




      62




















          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






          share|improve this answer




















          • 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











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          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






























          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






          share|improve this answer




















          • 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















          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






          share|improve this answer




















          • 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













          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






          share|improve this answer












          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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 10 at 7:59









          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

















          • 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













           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491