Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerroan authored and remear committed Feb 10, 2022
1 parent 02f1a49 commit d94c179
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ labels:
Icons are processed asynchronously and have a `status` attribute representing the current status of the Icon.

{% alert info, Note %}
This endpoint expects multipart requests. Icons must be 4 Mb or less.
This endpoint expects multipart requests. Icons must be 4 MB or less.
{% endalert %}

<div class="spectrum-Accordion" role="region">
Expand Down Expand Up @@ -74,7 +74,7 @@ This endpoint expects multipart requests. Icons must be 4 Mb or less.

<div class="spectrum-Accordion-itemContent" role="region">
<div class="highlight">
<pre><code>POST app_configurations/:app_configuration_id/icon</code></pre>
<pre><code>POST app_configurations/:id/icon</code></pre>
</div>
</div>
</div>
Expand All @@ -90,7 +90,7 @@ This endpoint expects multipart requests. Icons must be 4 Mb or less.

<div class="spectrum-Accordion-itemContent" role="region">
<div class="highlight">
<pre><code>curl https://reactor.adobe.io/app_configurations/:app_configuration_id/icon <span class="se">\</span>
<pre><code>curl https://reactor.adobe.io/app_configurations/:id/icon <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Accept: application/vnd.api+json;revision=1"</span> <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Content-Type: multipart/form-data"</span> <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Authorization: Bearer [TOKEN]"</span> <span class="se">\</span>
Expand Down
6 changes: 3 additions & 3 deletions api/reference/1.0/app_surfaces/relationships/icon/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ labels:
Icons are processed asynchronously and have a `status` attribute representing the current status of the Icon.

{% alert info, Note %}
This endpoint expects multipart requests. Icons must be 4 Mb or less.
This endpoint expects multipart requests. Icons must be 4 MB or less.
{% endalert %}

<div class="spectrum-Accordion" role="region">
Expand Down Expand Up @@ -74,7 +74,7 @@ This endpoint expects multipart requests. Icons must be 4 Mb or less.

<div class="spectrum-Accordion-itemContent" role="region">
<div class="highlight">
<pre><code>POST app_surfaces/:app_surface_id/icon</code></pre>
<pre><code>POST app_surfaces/:id/icon</code></pre>
</div>
</div>
</div>
Expand All @@ -90,7 +90,7 @@ This endpoint expects multipart requests. Icons must be 4 Mb or less.

<div class="spectrum-Accordion-itemContent" role="region">
<div class="highlight">
<pre><code>curl https://reactor.adobe.io/app_surfaces/:app_surface_id/icon <span class="se">\</span>
<pre><code>curl https://reactor.adobe.io/app_surfaces/:id/icon <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Accept: application/vnd.api+json;revision=1"</span> <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Content-Type: multipart/form-data"</span> <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Authorization: Bearer [TOKEN]"</span> <span class="se">\</span>
Expand Down
10 changes: 7 additions & 3 deletions api/reference/1.0/icons/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ labels:

{% labels %}

{% alert info, Note %}
This endpoint expects multipart requests. Icons must be 4 MB or less.
{% endalert %}

<div class="spectrum-Accordion" role="region">
<div class="spectrum-Accordion-item is-open" role="presentation">

Expand Down Expand Up @@ -68,7 +72,7 @@ labels:

<div class="spectrum-Accordion-itemContent" role="region">
<div class="highlight">
<pre><code>PATCH icons/icon_id </code></pre>
<pre><code>PATCH icons/:id </code></pre>
</div>
</div>
</div>
Expand All @@ -84,7 +88,7 @@ labels:

<div class="spectrum-Accordion-itemContent" role="region">
<div class="highlight">
<pre><code>curl https://reactor.adobe.io/icons/:icon_id <span class="se">\</span>
<pre><code>curl https://reactor.adobe.io/icons/:id <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Accept: application/vnd.api+json;revision=1"</span> <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Content-Type: multipart/form-data"</span> <span class="se">\</span>
<span class="nt">-H</span> <span class="s2">"Authorization: Bearer [TOKEN]"</span> <span class="se">\</span>
Expand All @@ -107,7 +111,7 @@ labels:

<div class="spectrum-Accordion-itemContent" role="region">
<div class="highlight">
<em>202 Accepted</em>
<em>200 OK </em>
<pre><code><span class="p">{</span><span class="w"></span>
<span class="nt">"data"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="nt">"id"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ICf76b9de5b229435bb76802427a88464b"</span><span class="p">,</span><span class="w"></span>
Expand Down
Loading

0 comments on commit d94c179

Please sign in to comment.