Browse Source

Fix position of rate_limited/2 callback in REST workflow guide

Loïc Hoguin 1 year ago
parent
commit
6bc6100bbd
2 changed files with 39 additions and 30 deletions
  1. BIN
      doc/src/guide/rest_start.png
  2. 39 30
      doc/src/guide/rest_start.svg

BIN
doc/src/guide/rest_start.png


+ 39 - 30
doc/src/guide/rest_start.svg

@@ -2,24 +2,23 @@
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 
 <svg
 <svg
-   xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:xlink="http://www.w3.org/1999/xlink"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    width="744.09448819"
    width="744.09448819"
    height="1052.3622047"
    height="1052.3622047"
    id="svg2"
    id="svg2"
    version="1.1"
    version="1.1"
-   inkscape:version="0.92.2 2405546, 2018-03-11"
+   inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
    sodipodi:docname="rest_start.svg"
    sodipodi:docname="rest_start.svg"
    inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
    inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
    inkscape:export-xdpi="90"
    inkscape:export-xdpi="90"
-   inkscape:export-ydpi="90">
+   inkscape:export-ydpi="90"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
   <defs
   <defs
      id="defs4">
      id="defs4">
     <linearGradient
     <linearGradient
@@ -50,7 +49,7 @@
     </linearGradient>
     </linearGradient>
     <linearGradient
     <linearGradient
        id="linearGradient5233"
        id="linearGradient5233"
-       osb:paint="solid">
+       inkscape:swatch="solid">
       <stop
       <stop
          style="stop-color:#69d2e7;stop-opacity:1;"
          style="stop-color:#69d2e7;stop-opacity:1;"
          offset="0"
          offset="0"
@@ -65,25 +64,34 @@
      inkscape:pageopacity="1"
      inkscape:pageopacity="1"
      inkscape:pageshadow="2"
      inkscape:pageshadow="2"
      inkscape:zoom="1.0000001"
      inkscape:zoom="1.0000001"
-     inkscape:cx="213.11305"
-     inkscape:cy="726.77495"
+     inkscape:cx="293.49997"
+     inkscape:cy="315.49997"
      inkscape:document-units="px"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      inkscape:current-layer="layer1"
      showgrid="false"
      showgrid="false"
-     inkscape:window-width="1920"
-     inkscape:window-height="1043"
+     inkscape:window-width="1440"
+     inkscape:window-height="900"
      inkscape:window-x="0"
      inkscape:window-x="0"
      inkscape:window-y="0"
      inkscape:window-y="0"
      inkscape:window-maximized="1"
      inkscape:window-maximized="1"
      inkscape:snap-global="true"
      inkscape:snap-global="true"
-     showguides="true">
+     showguides="true"
+     inkscape:showpageshadow="2"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:export-bgcolor="#ffffffff">
     <inkscape:grid
     <inkscape:grid
        type="xygrid"
        type="xygrid"
        id="grid5357"
        id="grid5357"
        empspacing="5"
        empspacing="5"
-       visible="true"
+       visible="false"
        enabled="true"
        enabled="true"
-       snapvisiblegridlinesonly="true" />
+       snapvisiblegridlinesonly="true"
+       originx="0"
+       originy="0"
+       spacingy="1"
+       spacingx="1"
+       units="px" />
   </sodipodi:namedview>
   </sodipodi:namedview>
   <metadata
   <metadata
      id="metadata7">
      id="metadata7">
@@ -113,7 +121,8 @@
        transform="translate(205.92143,-296.03137)"
        transform="translate(205.92143,-296.03137)"
        id="g5650-7"
        id="g5650-7"
        inkscape:export-xdpi="90"
        inkscape:export-xdpi="90"
-       inkscape:export-ydpi="90">
+       inkscape:export-ydpi="90"
+       inkscape:export-filename="rest_start.png">
       <path
       <path
          inkscape:connector-curvature="0"
          inkscape:connector-curvature="0"
          id="path5570-9"
          id="path5570-9"
@@ -921,7 +930,7 @@
          id="tspan5373-6-5"
          id="tspan5373-6-5"
          x="148.29512"
          x="148.29512"
          y="728.47717"
          y="728.47717"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">valid_content_headers</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">rate_limited</tspan></text>
     <text
     <text
        xml:space="preserve"
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
@@ -934,7 +943,7 @@
          id="tspan5373-6-1"
          id="tspan5373-6-1"
          x="147.83809"
          x="147.83809"
          y="812.14441"
          y="812.14441"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">valid_entity_length</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">valid_content_headers</tspan></text>
     <text
     <text
        xml:space="preserve"
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
@@ -1098,7 +1107,7 @@
          id="tspan5373-6-33"
          id="tspan5373-6-33"
          x="164.26562"
          x="164.26562"
          y="771.62329"
          y="771.62329"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
     <text
     <text
        xml:space="preserve"
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
@@ -1241,7 +1250,7 @@
          id="tspan5373-9-5"
          id="tspan5373-9-5"
          x="315.26172"
          x="315.26172"
          y="707.97595"
          y="707.97595"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
     <text
     <text
        xml:space="preserve"
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
@@ -1448,7 +1457,7 @@
          id="tspan5373-58"
          id="tspan5373-58"
          x="524.26172"
          x="524.26172"
          y="729.9563"
          y="729.9563"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">501 not implemented</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">429 too many requests</tspan></text>
     <text
     <text
        xml:space="preserve"
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
@@ -1461,7 +1470,7 @@
          id="tspan5373-60"
          id="tspan5373-60"
          x="524.26172"
          x="524.26172"
          y="813.64819"
          y="813.64819"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">413 request entity too large</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">501 not implemented</tspan></text>
     <rect
     <rect
        style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
        style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
        id="rect5367"
        id="rect5367"
@@ -1576,7 +1585,7 @@
          id="tspan5373-6-1-1"
          id="tspan5373-6-1-1"
          x="147.8381"
          x="147.8381"
          y="895.81165"
          y="895.81165"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">rate_limited</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">valid_entity_length</tspan></text>
     <text
     <text
        xml:space="preserve"
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
@@ -1615,7 +1624,7 @@
          id="tspan5373-6-9-6"
          id="tspan5373-6-9-6"
          x="164.26562"
          x="164.26562"
          y="938.95776"
          y="938.95776"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
     <text
     <text
        xml:space="preserve"
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
        style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
@@ -1628,7 +1637,7 @@
          id="tspan5373-9-012-6"
          id="tspan5373-9-012-6"
          x="315.26172"
          x="315.26172"
          y="875.08826"
          y="875.08826"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
     <rect
     <rect
        style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
        style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
        id="rect5273-7-3-5-2"
        id="rect5273-7-3-5-2"
@@ -1651,6 +1660,6 @@
          id="tspan5373-60-1"
          id="tspan5373-60-1"
          x="524.26172"
          x="524.26172"
          y="897.31543"
          y="897.31543"
-         style="font-size:16px;line-height:1.25;font-family:sans-serif">429 too many requests</tspan></text>
+         style="font-size:16px;line-height:1.25;font-family:sans-serif">413 request entity too large</tspan></text>
   </g>
   </g>
 </svg>
 </svg>