From 6478fb8664e8cc46ce0abcf2e7ab1d89952c18ae Mon Sep 17 00:00:00 2001 From: Noor Syed Date: Tue, 21 Nov 2023 13:15:18 -0500 Subject: [PATCH] add flasgger custom header --- static/img/gigwork-white.png | Bin 0 -> 11929 bytes templates/flasgger_custom_head.html | 26 ++++++++++++++++++++++++++ templates/help/api.html | 1 + 3 files changed, 27 insertions(+) create mode 100644 static/img/gigwork-white.png create mode 100644 templates/flasgger_custom_head.html diff --git a/static/img/gigwork-white.png b/static/img/gigwork-white.png new file mode 100644 index 0000000000000000000000000000000000000000..5f01a07ebf5d579bedbd8bddbb6fd850857e233b GIT binary patch literal 11929 zcmV;KE@sh*P)PyA07*naRCr$PU3Xkm$M!#ScUiH5pazwufQ6z_REh=ESQ5pki5gA7ur!|~YNGz~ zO!8u4$}cf7#*#?4BpTGjuCa?sx1a_TMPxw`41y>~+1)$8&s@0c-OHA{C?&tQ^N+H7 z=FFKh-<>=6%qa+3QQNU?$JaAv&-hR*7Q@r0Pw|c&J7$K2gzRZa5oI!2wXLmf8zRH0 zlPA+(88>cFOUh#$`G2{C6N6xOUX58`5$H(6q z(2I{{ULvGqNAgy1P2EnY>7pysHmXZ zw{NfZ1DEB>YV3R2o3?~J#xd13(Cj;}Uo4yj}Wu`6(XFn@0 zE>?8w)=fnICRT^`?b|o|OWVyGH!Aw}>(`#hpj0SfbNFWag$ozTTF0^(r63w;cJPux zoxRp21AyxBixB!bBXRM3c1a>5BWDE#1^tFlop_rzZSq;TaN)V;Tr%$Y`}mQg2@@v0 zHljJlH;$!W11$pHK3*I8i9vaT6%PX>-bh+9T!rfR>(#ciEFb7nwQRTZ>r*RI)Qy?OKIlfHfXcDQu$ zV$qPHL%R!Cr;)NbHPCE;&@`!jUTfVbpsq3BVfZLBdC6CNI`-u)HahlQX|Qx_b0|lt zRAOS^MeL!wIR-V3VXy{T6ud-QXYX}i0)~|Ua4a)v$wdAPVq#)~0|NsiFQ%mx4IMU2 z@Gf}h(4p@-b?W3%TU%R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9@^cVhnqU+z6x1fq7BtHr7y2 z4?vL2q@IdM9@2>UHLgpj=Qn_WIIh1Bo0Em5k!svX#$L~%fffVrF6$X>D@2{hMMPa$ zQv~lybECJa&1IhFS-{`}2(53&mKZ$z?+zS)*2%)=P~sfXJmG#xf4G1d`dYk3Vc zJ9x>IW9))20pP*p{}L>sMOb1pJAY##%pZ0VloZdSjPi!?M7?#2U$`n~I7`5y6S+L$ z7L+LijNgEW6oYGXym0x944L@bW^as{j4}&BKzHw2V-`8N_=g;LZ-^_@h_Ca6sRbpr zg(yw}k>-?EQ_^bV@u4|aK<8L30$z<0tpW<}dy#kRF00000NkvXXu0mjfaeo`? literal 0 HcmV?d00001 diff --git a/templates/flasgger_custom_head.html b/templates/flasgger_custom_head.html new file mode 100644 index 000000000..b94aaf793 --- /dev/null +++ b/templates/flasgger_custom_head.html @@ -0,0 +1,26 @@ + diff --git a/templates/help/api.html b/templates/help/api.html index e97f5dfe9..f6d493c3e 100644 --- a/templates/help/api.html +++ b/templates/help/api.html @@ -20,6 +20,7 @@

{{brand}}: API Help

low level API calls, providing a more simple and easy to use API. PyBossa.JS is available at the server for every project, but if you prefer to download it you can do it from its official repository.


+

View pybossa swagger documentation here.

Projects API end point

For example, if you want to get a list of available projects on this server,