Magento 2.2 REST API Call to get media, does not return base 64 string The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Rest Api - call custom rest api functionREST API PayPal does not call setExpressCheckout methodUnable to get salesorders and Customers From Magento 2.2 using REST APIMagento 2.2. Get error with ''@param string[] $types' in REST APIGet all simple product with REST APIHow to Update Magento 2 configurable child products price by REST APIMagento 2 Rest api get model data in responserest api to return categories informationMagento 2.2 REST API Not working on index.phpMagento 2.2 REST API get categorie in product list

Do working physicists consider Newtonian mechanics to be "falsified"?

Why can't wing-mounted spoilers be used to steepen approaches?

Are my PIs rude or am I just being too sensitive?

How many people can fit inside Mordenkainen's Magnificent Mansion?

What LEGO pieces have "real-world" functionality?

Working through the single responsibility principle (SRP) in Python when calls are expensive

What force causes entropy to increase?

Why does this iterative way of solving of equation work?

Match Roman Numerals

How is simplicity better than precision and clarity in prose?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Why is superheterodyning better than direct conversion?

Can a 1st-level character have an ability score above 18?

Finding the path in a graph from A to B then back to A with a minimum of shared edges

Segmentation fault output is suppressed when piping stdin into a function. Why?

Can smartphones with the same camera sensor have different image quality?

How to split my screen on my Macbook Air?

How do you keep chess fun when your opponent constantly beats you?

Why is Captain Marvel translated as male in Portugal?

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

Derivation tree not rendering

How should I replace vector<uint8_t>::const_iterator in an API?

"... to apply for a visa" or "... and applied for a visa"?

University's motivation for having tenure-track positions



Magento 2.2 REST API Call to get media, does not return base 64 string



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Rest Api - call custom rest api functionREST API PayPal does not call setExpressCheckout methodUnable to get salesorders and Customers From Magento 2.2 using REST APIMagento 2.2. Get error with ''@param string[] $types' in REST APIGet all simple product with REST APIHow to Update Magento 2 configurable child products price by REST APIMagento 2 Rest api get model data in responserest api to return categories informationMagento 2.2 REST API Not working on index.phpMagento 2.2 REST API get categorie in product list



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I tried the call




/V1/products/:sku/media/




I get this response



[
"id": 31,
"media_type": "image",
"label": null,
"position": 1,
"disabled": false,
"types": [
"image",
"small_image",
"thumbnail",
"swatch_image"
],
"file": "/9/1/91sh_fuln0l._ux342__1.jpg"
]


Expected response as per dev docs contains the object



 "content": 
"base64_encoded_data": "string",
"type": "string",
"name": "string"
,


Does anyone know why it is missing?










share|improve this question







New contributor




Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    1















    I tried the call




    /V1/products/:sku/media/




    I get this response



    [
    "id": 31,
    "media_type": "image",
    "label": null,
    "position": 1,
    "disabled": false,
    "types": [
    "image",
    "small_image",
    "thumbnail",
    "swatch_image"
    ],
    "file": "/9/1/91sh_fuln0l._ux342__1.jpg"
    ]


    Expected response as per dev docs contains the object



     "content": 
    "base64_encoded_data": "string",
    "type": "string",
    "name": "string"
    ,


    Does anyone know why it is missing?










    share|improve this question







    New contributor




    Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      1












      1








      1


      1






      I tried the call




      /V1/products/:sku/media/




      I get this response



      [
      "id": 31,
      "media_type": "image",
      "label": null,
      "position": 1,
      "disabled": false,
      "types": [
      "image",
      "small_image",
      "thumbnail",
      "swatch_image"
      ],
      "file": "/9/1/91sh_fuln0l._ux342__1.jpg"
      ]


      Expected response as per dev docs contains the object



       "content": 
      "base64_encoded_data": "string",
      "type": "string",
      "name": "string"
      ,


      Does anyone know why it is missing?










      share|improve this question







      New contributor




      Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I tried the call




      /V1/products/:sku/media/




      I get this response



      [
      "id": 31,
      "media_type": "image",
      "label": null,
      "position": 1,
      "disabled": false,
      "types": [
      "image",
      "small_image",
      "thumbnail",
      "swatch_image"
      ],
      "file": "/9/1/91sh_fuln0l._ux342__1.jpg"
      ]


      Expected response as per dev docs contains the object



       "content": 
      "base64_encoded_data": "string",
      "type": "string",
      "name": "string"
      ,


      Does anyone know why it is missing?







      magento2.2 rest rest-api magento2.2.7






      share|improve this question







      New contributor




      Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Apr 10 at 7:49









      Shivam KamatShivam Kamat

      62




      62




      New contributor




      Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Shivam Kamat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Shivam Kamat is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269474%2fmagento-2-2-rest-api-call-to-get-media-does-not-return-base-64-string%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Shivam Kamat is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          Shivam Kamat is a new contributor. Be nice, and check out our Code of Conduct.












          Shivam Kamat is a new contributor. Be nice, and check out our Code of Conduct.











          Shivam Kamat is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269474%2fmagento-2-2-rest-api-call-to-get-media-does-not-return-base-64-string%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Sum ergo cogito? 1 nng

          419 nièngy_Soadمي 19bal1.5o_g

          Queiggey Chernihivv 9NnOo i Zw X QqKk LpB