Warning, /webapps/ocs-apiserver/public/swagger/openapi.json is written in an unsupported language. File is not indexed.
0001 { 0002 "openapi": "3.0.0", 0003 "info": { 0004 "title": "OCS API", 0005 "description": "Partial implementation of the Open Collaboration Services v1.6 (https://www.freedesktop.org/wiki/Specifications/open-collaboration-services/).\n Important:\n- The HTTP cache in the browser must be switched off, otherwise the same result can always be displayed.\n- Additional privacy tools or similar plugins should be switched off. Otherwise the CORS request may not work.", 0006 "version": "0.0.1", 0007 "termsOfService": "https://www.opendesktop.org/terms", 0008 "contact": { 0009 "email": "contect@opendesktop.org" 0010 }, 0011 "license": { 0012 "name": "GNU Affero General Public License", 0013 "url": "http://www.gnu.org/licenses/" 0014 } 0015 }, 0016 "servers": [ 0017 { 0018 "url": "https://api.opendesktop.cc/ocs/v1", 0019 "description": "Sandbox server (uses test data)" 0020 }, 0021 { 0022 "url": "https://api.opendesktop.org/ocs/v1", 0023 "description": "Production server (uses live data)" 0024 } 0025 ], 0026 "paths": { 0027 "/content/categories": { 0028 "get": { 0029 "description": "Returns a list of available categories", 0030 "tags": [ 0031 "content" 0032 ], 0033 "responses": { 0034 "200": { 0035 "description": "successful operation", 0036 "content": { 0037 "application/json": { 0038 "schema": { 0039 "type": "object", 0040 "properties": { 0041 "meta": { 0042 "$ref": "#/components/schemas/Meta" 0043 }, 0044 "data": { 0045 "type": "array", 0046 "items": { 0047 "$ref": "#/components/schemas/Category" 0048 }, 0049 "xml": { 0050 "name": "data", 0051 "wrapped": true 0052 } 0053 } 0054 } 0055 } 0056 }, 0057 "application/xml": { 0058 "schema": { 0059 "type": "object", 0060 "properties": { 0061 "meta": { 0062 "$ref": "#/components/schemas/Meta" 0063 }, 0064 "categories": { 0065 "type": "array", 0066 "items": { 0067 "$ref": "#/components/schemas/Category" 0068 }, 0069 "xml": { 0070 "name": "data", 0071 "wrapped": true 0072 } 0073 } 0074 }, 0075 "xml": { 0076 "name": "ocs", 0077 "wrapped": true 0078 } 0079 } 0080 } 0081 } 0082 } 0083 } 0084 } 0085 }, 0086 "/content/data": { 0087 "get": { 0088 "description": "Gets a list of a specific set of contents.", 0089 "tags": [ 0090 "content" 0091 ], 0092 "security": [ 0093 { 0094 "BasicAuth": [] 0095 }, 0096 { 0097 "BearerAuth": [] 0098 } 0099 ], 0100 "parameters": [ 0101 { 0102 "in": "query", 0103 "name": "categories", 0104 "schema": { 0105 "type": "string" 0106 }, 0107 "description": "Requested category IDs separated by \",\". For backward compatibility with the OCS API specification, the values can also be separated by \"x\"." 0108 }, 0109 { 0110 "in": "query", 0111 "name": "search", 0112 "schema": { 0113 "type": "string" 0114 }, 0115 "description": "The part of the name of the item you want to find." 0116 }, 0117 { 0118 "in": "query", 0119 "name": "tags", 0120 "schema": { 0121 "type": "string" 0122 }, 0123 "description": "tags parameter values separated by \",\" and \"|\" for or filter" 0124 }, 0125 { 0126 "in": "query", 0127 "name": "xdg_types", 0128 "schema": { 0129 "type": "string" 0130 }, 0131 "description": "xdg_types parameter values separated by \",\"" 0132 }, 0133 { 0134 "in": "query", 0135 "name": "ghns_excluded", 0136 "schema": { 0137 "type": "string" 0138 } 0139 }, 0140 { 0141 "in": "query", 0142 "name": "user", 0143 "schema": { 0144 "type": "string" 0145 }, 0146 "description": "show only contents from one specific user." 0147 }, 0148 { 0149 "in": "query", 0150 "name": "showfavorites", 0151 "schema": { 0152 "type": "string" 0153 }, 0154 "description": "Show only favorites for auhtorized user" 0155 }, 0156 { 0157 "in": "query", 0158 "name": "sortmode", 0159 "schema": { 0160 "type": "string", 0161 "enum": [ 0162 "new", 0163 "alpha", 0164 "high", 0165 "down" 0166 ] 0167 } 0168 }, 0169 { 0170 "in": "query", 0171 "name": "page", 0172 "schema": { 0173 "type": "string" 0174 }, 0175 "description": "The content page. You can control the size of a page with the pagesize argument. The first page is 0, the second is 1, ..." 0176 }, 0177 { 0178 "in": "query", 0179 "name": "pagesize", 0180 "schema": { 0181 "type": "string" 0182 }, 0183 "description": "The amount of entries per page." 0184 } 0185 ], 0186 "responses": { 0187 "200": { 0188 "description": "successful operation", 0189 "content": { 0190 "application/json": { 0191 "schema": { 0192 "type": "object", 0193 "properties": { 0194 "meta": { 0195 "$ref": "#/components/schemas/Meta" 0196 }, 0197 "data": { 0198 "type": "array", 0199 "items": { 0200 "$ref": "#/components/schemas/ContentCategories" 0201 }, 0202 "xml": { 0203 "name": "data", 0204 "wrapped": true 0205 } 0206 } 0207 } 0208 } 0209 }, 0210 "application/xml": { 0211 "schema": { 0212 "type": "object", 0213 "properties": { 0214 "meta": { 0215 "$ref": "#/components/schemas/Meta" 0216 }, 0217 "categories": { 0218 "type": "array", 0219 "items": { 0220 "$ref": "#/components/schemas/ContentCategories" 0221 }, 0222 "xml": { 0223 "name": "data", 0224 "wrapped": true 0225 } 0226 } 0227 }, 0228 "xml": { 0229 "name": "ocs", 0230 "wrapped": true 0231 } 0232 } 0233 } 0234 } 0235 } 0236 } 0237 } 0238 }, 0239 "/content/data/{contentid}": { 0240 "get": { 0241 "description": "Read content data of one specific content.", 0242 "tags": [ 0243 "content" 0244 ], 0245 "parameters": [ 0246 { 0247 "in": "path", 0248 "name": "contentid", 0249 "schema": { 0250 "type": "integer" 0251 }, 0252 "required": true 0253 } 0254 ], 0255 "responses": { 0256 "200": { 0257 "description": "successful operation", 0258 "content": { 0259 "application/json": { 0260 "schema": { 0261 "type": "object", 0262 "properties": { 0263 "meta": { 0264 "$ref": "#/components/schemas/Meta" 0265 }, 0266 "data": { 0267 "type": "array", 0268 "items": { 0269 "$ref": "#/components/schemas/ContentDetails" 0270 }, 0271 "xml": { 0272 "name": "data", 0273 "wrapped": true 0274 } 0275 } 0276 } 0277 } 0278 }, 0279 "application/xml": { 0280 "schema": { 0281 "type": "object", 0282 "properties": { 0283 "meta": { 0284 "$ref": "#/components/schemas/Meta" 0285 }, 0286 "categories": { 0287 "type": "array", 0288 "items": { 0289 "$ref": "#/components/schemas/ContentDetails" 0290 }, 0291 "xml": { 0292 "name": "data", 0293 "wrapped": true 0294 } 0295 } 0296 }, 0297 "xml": { 0298 "name": "ocs", 0299 "wrapped": true 0300 } 0301 } 0302 } 0303 } 0304 } 0305 } 0306 } 0307 }, 0308 "/content/download/{contentid}/{itemid}": { 0309 "get": { 0310 "description": "Download or buy one specific content item. links to the package and links to repositories are supported. You get the dowloadlink or the packagename/packagerepository comination in the XML.", 0311 "tags": [ 0312 "content" 0313 ], 0314 "parameters": [ 0315 { 0316 "in": "path", 0317 "name": "contentid", 0318 "schema": { 0319 "type": "integer" 0320 }, 0321 "required": true 0322 }, 0323 { 0324 "in": "path", 0325 "name": "itemid", 0326 "schema": { 0327 "type": "integer" 0328 }, 0329 "required": true 0330 } 0331 ], 0332 "responses": { 0333 "200": { 0334 "description": "successful operation", 0335 "content": { 0336 "application/json": { 0337 "schema": { 0338 "type": "object", 0339 "properties": { 0340 "meta": { 0341 "$ref": "#/components/schemas/Meta" 0342 }, 0343 "data": { 0344 "type": "array", 0345 "items": { 0346 "$ref": "#/components/schemas/ContentDownload" 0347 }, 0348 "xml": { 0349 "name": "data", 0350 "wrapped": true 0351 } 0352 } 0353 } 0354 } 0355 }, 0356 "application/xml": { 0357 "schema": { 0358 "type": "object", 0359 "properties": { 0360 "meta": { 0361 "$ref": "#/components/schemas/Meta" 0362 }, 0363 "categories": { 0364 "type": "array", 0365 "items": { 0366 "$ref": "#/components/schemas/ContentDownload" 0367 }, 0368 "xml": { 0369 "name": "data", 0370 "wrapped": true 0371 } 0372 } 0373 }, 0374 "xml": { 0375 "name": "ocs", 0376 "wrapped": true 0377 } 0378 } 0379 } 0380 } 0381 } 0382 } 0383 } 0384 }, 0385 "/content/previewpic/{contentid}": { 0386 "get": { 0387 "description": "tbd", 0388 "tags": [ 0389 "content" 0390 ], 0391 "parameters": [ 0392 { 0393 "in": "path", 0394 "name": "contentid", 0395 "schema": { 0396 "type": "integer" 0397 }, 0398 "required": true 0399 } 0400 ], 0401 "responses": { 0402 "200": { 0403 "description": "successful operation" 0404 } 0405 } 0406 } 0407 }, 0408 "/content/vote/{contentid}": { 0409 "get": { 0410 "description": "Vote for one specific content.", 0411 "tags": [ 0412 "content" 0413 ], 0414 "security": [ 0415 { 0416 "BasicAuth": [] 0417 }, 0418 { 0419 "BearerAuth": [] 0420 } 0421 ], 0422 "parameters": [ 0423 { 0424 "in": "path", 0425 "name": "contentid", 0426 "schema": { 0427 "type": "integer" 0428 }, 0429 "required": true 0430 }, 0431 { 0432 "in": "query", 0433 "name": "vote", 0434 "schema": { 0435 "type": "integer", 0436 "minimum": 0, 0437 "maximum": 100 0438 }, 0439 "required": true 0440 }, 0441 { 0442 "in": "query", 0443 "name": "msg", 0444 "schema": { 0445 "type": "string" 0446 } 0447 } 0448 ], 0449 "responses": { 0450 "200": { 0451 "description": "successful operation", 0452 "content": { 0453 "application/json": { 0454 "schema": { 0455 "type": "object", 0456 "properties": { 0457 "meta": { 0458 "$ref": "#/components/schemas/MetaVote" 0459 }, 0460 "data": { 0461 "type": "object", 0462 "xml": { 0463 "name": "data", 0464 "wrapped": true 0465 } 0466 } 0467 } 0468 } 0469 }, 0470 "application/xml": { 0471 "schema": { 0472 "type": "object", 0473 "properties": { 0474 "meta": { 0475 "$ref": "#/components/schemas/MetaVote" 0476 }, 0477 "data": { 0478 "type": "object", 0479 "xml": { 0480 "name": "data", 0481 "wrapped": true 0482 } 0483 } 0484 }, 0485 "xml": { 0486 "name": "ocs", 0487 "wrapped": true 0488 } 0489 } 0490 } 0491 } 0492 } 0493 } 0494 } 0495 }, 0496 "/person/check": { 0497 "post": { 0498 "description": "Check if the given login and password or the API key is valid. It returns the associated username.", 0499 "tags": [ 0500 "person" 0501 ], 0502 "requestBody": { 0503 "required": true, 0504 "content": { 0505 "application/x-www-form-urlencoded": { 0506 "schema": { 0507 "type": "object", 0508 "properties": { 0509 "login": { 0510 "type": "string" 0511 }, 0512 "password": { 0513 "type": "string" 0514 } 0515 }, 0516 "required": [ 0517 "login", 0518 "password" 0519 ] 0520 } 0521 } 0522 } 0523 }, 0524 "responses": { 0525 "200": { 0526 "description": "successful operation", 0527 "content": { 0528 "application/json": { 0529 "schema": { 0530 "anyOf": [ 0531 { 0532 "$ref": "#/components/schemas/Meta" 0533 }, 0534 { 0535 "$ref": "#/components/schemas/PersonId" 0536 } 0537 ] 0538 }, 0539 "example": { 0540 "status": "ok", 0541 "statuscode": "100", 0542 "message": "ok", 0543 "data": { 0544 "details": "check", 0545 "personid": "frank" 0546 } 0547 } 0548 }, 0549 "application/xml": { 0550 "schema": { 0551 "type": "object", 0552 "properties": { 0553 "meta": { 0554 "$ref": "#/components/schemas/Meta" 0555 }, 0556 "data": { 0557 "type": "array", 0558 "items": { 0559 "$ref": "#/components/schemas/PersonId" 0560 }, 0561 "xml": { 0562 "name": "data", 0563 "wrapped": true 0564 } 0565 } 0566 }, 0567 "xml": { 0568 "name": "ocs", 0569 "wrapped": true 0570 } 0571 } 0572 } 0573 } 0574 } 0575 } 0576 } 0577 }, 0578 "/person/data/{person_id}": { 0579 "get": { 0580 "description": "Response Get the data from one specific person. Unauthorized request => The response contains only the public part of the personal data. Only authenticated users are allowed to access full data set. Authentication is done by sending a Basic HTTP Authorisation header.", 0581 "tags": [ 0582 "person" 0583 ], 0584 "security": [ 0585 { 0586 "BasicAuth": [] 0587 }, 0588 { 0589 "BearerAuth": [] 0590 } 0591 ], 0592 "parameters": [ 0593 { 0594 "in": "path", 0595 "name": "person_id", 0596 "schema": { 0597 "type": "string" 0598 }, 0599 "required": true, 0600 "description": "ID of the user to get" 0601 } 0602 ], 0603 "responses": { 0604 "200": { 0605 "description": "successful operation", 0606 "content": { 0607 "application/json": { 0608 "schema": { 0609 "anyOf": [ 0610 { 0611 "$ref": "#/components/schemas/Meta" 0612 }, 0613 { 0614 "$ref": "#/components/schemas/Person" 0615 } 0616 ] 0617 }, 0618 "example": { 0619 "status": "ok", 0620 "statuscode": "100", 0621 "message": "ok", 0622 "data": { 0623 "details": "full", 0624 "personid": "dummy", 0625 "privacy": 0, 0626 "privacytext": "public", 0627 "firstname": "dummy_firstname", 0628 "lastname": "dummy_lastname", 0629 "gender": "", 0630 "communityrole": "", 0631 "homepage": "www.pling.com", 0632 "company": "", 0633 "avatarpic": "http://www.pling.com/member/avatar/96515bebd8e2ecbd1cf4625035ddf045/800", 0634 "avatarpicfound": 1, 0635 "bigavatarpic": "http://www.pling.com/member/avatar/96515bebd8e2ecbd1cf4625035ddf045/800", 0636 "bigavatarpicfound": 1, 0637 "birthday": "", 0638 "jobstatus": "", 0639 "city": "Berlin", 0640 "country": "Germany", 0641 "latitude": "", 0642 "longitude": "", 0643 "ircnick": "", 0644 "ircchannels": "", 0645 "irclink": "", 0646 "likes": "", 0647 "dontlikes": "", 0648 "interests": "", 0649 "languages": "", 0650 "programminglanguages": "", 0651 "favouritequote": "", 0652 "favouritemusic": "", 0653 "favouritetvshows": "", 0654 "favouritemovies": "", 0655 "favouritebooks": "", 0656 "favouritegames": "", 0657 "description": "", 0658 "profilepage": "http://www.pling.com/u/dummy" 0659 } 0660 } 0661 }, 0662 "application/xml": { 0663 "schema": { 0664 "type": "object", 0665 "properties": { 0666 "meta": { 0667 "$ref": "#/components/schemas/Meta" 0668 }, 0669 "data": { 0670 "type": "array", 0671 "items": { 0672 "$ref": "#/components/schemas/Person" 0673 }, 0674 "xml": { 0675 "name": "data", 0676 "wrapped": true 0677 } 0678 } 0679 }, 0680 "xml": { 0681 "name": "ocs", 0682 "wrapped": true 0683 } 0684 } 0685 } 0686 } 0687 } 0688 } 0689 } 0690 }, 0691 "/person/self": { 0692 "get": { 0693 "description": "get the data from yourself. Only authenticated users are allowed to access this method. Authentication is done by sending a Basic HTTP Authorisation header.", 0694 "tags": [ 0695 "person" 0696 ], 0697 "security": [ 0698 { 0699 "BasicAuth": [] 0700 }, 0701 { 0702 "BearerAuth": [] 0703 }, 0704 { 0705 "OpenID": [] 0706 } 0707 ], 0708 "responses": { 0709 "200": { 0710 "description": "successful operation", 0711 "content": { 0712 "application/json": { 0713 "schema": { 0714 "anyOf": [ 0715 { 0716 "$ref": "#/components/schemas/Meta" 0717 }, 0718 { 0719 "$ref": "#/components/schemas/Person" 0720 } 0721 ] 0722 }, 0723 "example": { 0724 "status": "ok", 0725 "statuscode": "100", 0726 "message": "ok", 0727 "data": { 0728 "details": "full", 0729 "personid": "dummy", 0730 "privacy": 0, 0731 "privacytext": "public", 0732 "firstname": "dummy_firstname", 0733 "lastname": "dummy_lastname", 0734 "gender": "", 0735 "communityrole": "", 0736 "homepage": "www.pling.com", 0737 "company": "", 0738 "avatarpic": "http://www.pling.com/member/avatar/96515bebd8e2ecbd1cf4625035ddf045/800", 0739 "avatarpicfound": 1, 0740 "bigavatarpic": "http://www.pling.com/member/avatar/96515bebd8e2ecbd1cf4625035ddf045/800", 0741 "bigavatarpicfound": 1, 0742 "birthday": "", 0743 "jobstatus": "", 0744 "city": "Berlin", 0745 "country": "Germany", 0746 "latitude": "", 0747 "longitude": "", 0748 "ircnick": "", 0749 "ircchannels": "", 0750 "irclink": "", 0751 "likes": "", 0752 "dontlikes": "", 0753 "interests": "", 0754 "languages": "", 0755 "programminglanguages": "", 0756 "favouritequote": "", 0757 "favouritemusic": "", 0758 "favouritetvshows": "", 0759 "favouritemovies": "", 0760 "favouritebooks": "", 0761 "favouritegames": "", 0762 "description": "", 0763 "profilepage": "http://www.pling.com/u/dummy" 0764 } 0765 } 0766 }, 0767 "application/xml": { 0768 "schema": { 0769 "type": "object", 0770 "properties": { 0771 "meta": { 0772 "$ref": "#/components/schemas/Meta" 0773 }, 0774 "data": { 0775 "type": "array", 0776 "items": { 0777 "$ref": "#/components/schemas/Person" 0778 }, 0779 "xml": { 0780 "name": "data", 0781 "wrapped": true 0782 } 0783 } 0784 }, 0785 "xml": { 0786 "name": "ocs", 0787 "wrapped": true 0788 } 0789 } 0790 } 0791 } 0792 } 0793 } 0794 } 0795 }, 0796 "/comments/data/{comment_type}/{contentid}/{second_id}": { 0797 "get": { 0798 "description": "Gets a list of comments.", 0799 "tags": [ 0800 "comments" 0801 ], 0802 "security": [ 0803 { 0804 "BasicAuth": [] 0805 }, 0806 { 0807 "BearerAuth": [] 0808 } 0809 ], 0810 "parameters": [ 0811 { 0812 "in": "path", 0813 "name": "comment_type", 0814 "schema": { 0815 "type": "string" 0816 }, 0817 "required": true 0818 }, 0819 { 0820 "in": "path", 0821 "name": "contentid", 0822 "schema": { 0823 "type": "integer" 0824 }, 0825 "required": true 0826 }, 0827 { 0828 "in": "path", 0829 "name": "second_id", 0830 "schema": { 0831 "type": "integer" 0832 }, 0833 "required": true 0834 }, 0835 { 0836 "in": "query", 0837 "name": "page", 0838 "schema": { 0839 "type": "integer" 0840 } 0841 }, 0842 { 0843 "in": "query", 0844 "name": "pagesize", 0845 "schema": { 0846 "type": "integer" 0847 } 0848 } 0849 ], 0850 "responses": { 0851 "200": { 0852 "description": "successful operation" 0853 } 0854 } 0855 } 0856 } 0857 }, 0858 "components": { 0859 "schemas": { 0860 "Meta": { 0861 "type": "object", 0862 "properties": { 0863 "status": { 0864 "type": "string" 0865 }, 0866 "statuscode": { 0867 "type": "integer", 0868 "format": "int64" 0869 }, 0870 "message": { 0871 "type": "string" 0872 }, 0873 "totalitems": { 0874 "type": "integer", 0875 "format": "int64" 0876 }, 0877 "itemsperpage": { 0878 "type": "integer", 0879 "format": "int64" 0880 } 0881 }, 0882 "xml": { 0883 "name": "meta" 0884 } 0885 }, 0886 "Category": { 0887 "type": "object", 0888 "properties": { 0889 "id": { 0890 "type": "integer", 0891 "format": "int64" 0892 }, 0893 "name": { 0894 "type": "string" 0895 }, 0896 "display-name": { 0897 "type": "string" 0898 }, 0899 "parent_id": { 0900 "type": "integer", 0901 "format": "int64" 0902 }, 0903 "xdg_type": { 0904 "type": "integer", 0905 "format": "int64" 0906 } 0907 }, 0908 "xml": { 0909 "name": "category" 0910 } 0911 }, 0912 "ContentCategories": { 0913 "type": "object", 0914 "properties": { 0915 "details": { 0916 "type": "string", 0917 "xml": { 0918 "attribute": true 0919 } 0920 }, 0921 "id": { 0922 "type": "integer", 0923 "format": "int64" 0924 }, 0925 "name": { 0926 "type": "string" 0927 }, 0928 "version": { 0929 "type": "string" 0930 }, 0931 "typeid": { 0932 "type": "integer" 0933 }, 0934 "typename": { 0935 "type": "string" 0936 }, 0937 "xdg_type": { 0938 "type": "string" 0939 }, 0940 "language": { 0941 "type": "string" 0942 }, 0943 "personid": { 0944 "type": "string" 0945 }, 0946 "created": { 0947 "type": "string" 0948 }, 0949 "changed": { 0950 "type": "string" 0951 }, 0952 "downloads": { 0953 "type": "integer" 0954 }, 0955 "score": { 0956 "type": "integer" 0957 }, 0958 "summary": { 0959 "type": "string" 0960 }, 0961 "description": { 0962 "type": "string" 0963 }, 0964 "comments": { 0965 "type": "integer" 0966 }, 0967 "ghns_excluded": { 0968 "type": "integer" 0969 }, 0970 "preview1": { 0971 "type": "string" 0972 }, 0973 "detailpage": { 0974 "type": "string" 0975 }, 0976 "tags": { 0977 "type": "string" 0978 }, 0979 "previewpic1": { 0980 "type": "string" 0981 }, 0982 "previewpic2": { 0983 "type": "string" 0984 }, 0985 "smallpreviewpic1": { 0986 "type": "string" 0987 }, 0988 "smalpreviewpic2": { 0989 "type": "string" 0990 }, 0991 "downloadway1": { 0992 "type": "integer" 0993 }, 0994 "downloadtype1": { 0995 "type": "string" 0996 }, 0997 "downloadprice1": { 0998 "type": "number" 0999 }, 1000 "downloadlink1": { 1001 "type": "string" 1002 }, 1003 "downloadname1": { 1004 "type": "string" 1005 }, 1006 "downloadsize1": { 1007 "type": "integer" 1008 }, 1009 "downloadgpgfingerprint1": { 1010 "type": "string" 1011 }, 1012 "downloadgpgsignature1": { 1013 "type": "string" 1014 }, 1015 "downloadpackagename1": { 1016 "type": "string" 1017 }, 1018 "downloadrepository1": { 1019 "type": "string" 1020 }, 1021 "download_package_type1": { 1022 "type": "string" 1023 }, 1024 "download_package_arch1": { 1025 "type": "string" 1026 }, 1027 "downloadtags1": { 1028 "type": "string" 1029 } 1030 }, 1031 "xml": { 1032 "name": "content" 1033 } 1034 }, 1035 "ContentDetails": { 1036 "type": "object", 1037 "properties": { 1038 "details": { 1039 "type": "string", 1040 "xml": { 1041 "attribute": true 1042 } 1043 }, 1044 "id": { 1045 "type": "integer", 1046 "format": "int64" 1047 }, 1048 "name": { 1049 "type": "string" 1050 }, 1051 "version": { 1052 "type": "string" 1053 }, 1054 "typeid": { 1055 "type": "integer" 1056 }, 1057 "typename": { 1058 "type": "string" 1059 }, 1060 "xdg_type": { 1061 "type": "string" 1062 }, 1063 "language": { 1064 "type": "string" 1065 }, 1066 "personid": { 1067 "type": "string" 1068 }, 1069 "created": { 1070 "type": "string" 1071 }, 1072 "changed": { 1073 "type": "string" 1074 }, 1075 "downloads": { 1076 "type": "integer" 1077 }, 1078 "score": { 1079 "type": "integer" 1080 }, 1081 "summary": { 1082 "type": "string" 1083 }, 1084 "description": { 1085 "type": "string" 1086 }, 1087 "changelog": { 1088 "type": "string" 1089 }, 1090 "feedbackurl": { 1091 "type": "string" 1092 }, 1093 "homepage": { 1094 "type": "string" 1095 }, 1096 "homepagetype": { 1097 "type": "string" 1098 }, 1099 "donationpage": { 1100 "type": "string" 1101 }, 1102 "comments": { 1103 "type": "integer" 1104 }, 1105 "commentspage": { 1106 "type": "string" 1107 }, 1108 "fans": { 1109 "type": "integer" 1110 }, 1111 "fanspage": { 1112 "type": "string" 1113 }, 1114 "knowledgebaseentries": { 1115 "type": "integer" 1116 }, 1117 "knowledgebasepage": { 1118 "type": "string" 1119 }, 1120 "depend": { 1121 "type": "string" 1122 }, 1123 "preview1": { 1124 "type": "string" 1125 }, 1126 "icon": { 1127 "type": "string" 1128 }, 1129 "video": { 1130 "type": "string" 1131 }, 1132 "detailpage": { 1133 "type": "string" 1134 }, 1135 "ghns_excluded": { 1136 "type": "integer" 1137 }, 1138 "tags": { 1139 "type": "string" 1140 }, 1141 "previewpic1": { 1142 "type": "string" 1143 }, 1144 "previewpic2": { 1145 "type": "string" 1146 }, 1147 "smallpreviewpic1": { 1148 "type": "string" 1149 }, 1150 "smalpreviewpic2": { 1151 "type": "string" 1152 }, 1153 "downloadway1": { 1154 "type": "integer" 1155 }, 1156 "downloadtype1": { 1157 "type": "string" 1158 }, 1159 "downloadprice1": { 1160 "type": "number" 1161 }, 1162 "downloadlink1": { 1163 "type": "string" 1164 }, 1165 "downloadname1": { 1166 "type": "string" 1167 }, 1168 "downloadsize1": { 1169 "type": "integer" 1170 }, 1171 "downloadgpgfingerprint1": { 1172 "type": "string" 1173 }, 1174 "downloadgpgsignature1": { 1175 "type": "string" 1176 }, 1177 "downloadpackagename1": { 1178 "type": "string" 1179 }, 1180 "downloadrepository1": { 1181 "type": "string" 1182 }, 1183 "download_package_type1": { 1184 "type": "string" 1185 }, 1186 "download_package_arch1": { 1187 "type": "string" 1188 }, 1189 "downloadtags1": { 1190 "type": "string" 1191 } 1192 }, 1193 "xml": { 1194 "name": "content" 1195 } 1196 }, 1197 "ContentDownload": { 1198 "type": "object", 1199 "properties": { 1200 "details": { 1201 "type": "string", 1202 "xml": { 1203 "attribute": true 1204 } 1205 }, 1206 "downloadway": { 1207 "type": "string" 1208 }, 1209 "downloadlink": { 1210 "type": "string" 1211 }, 1212 "mimetype": { 1213 "type": "string" 1214 }, 1215 "gpgfingerprint": { 1216 "type": "string" 1217 }, 1218 "gpgsignature": { 1219 "type": "string" 1220 }, 1221 "packagename": { 1222 "type": "string" 1223 }, 1224 "repository": { 1225 "type": "string" 1226 }, 1227 "download_package_type": { 1228 "type": "string" 1229 }, 1230 "download_package_arch": { 1231 "type": "string" 1232 }, 1233 "downloadtags": { 1234 "type": "string" 1235 } 1236 }, 1237 "xml": { 1238 "name": "content" 1239 } 1240 }, 1241 "Person": { 1242 "type": "object", 1243 "properties": { 1244 "details": { 1245 "type": "string", 1246 "xml": { 1247 "attribute": true 1248 } 1249 }, 1250 "personid": { 1251 "type": "string" 1252 }, 1253 "privacy": { 1254 "type": "integer", 1255 "format": "int64" 1256 }, 1257 "privacytext": { 1258 "type": "string" 1259 }, 1260 "firstname": { 1261 "type": "string" 1262 }, 1263 "lastname": { 1264 "type": "string" 1265 }, 1266 "gender": { 1267 "type": "string" 1268 }, 1269 "communityrole": { 1270 "type": "string" 1271 }, 1272 "homepage": { 1273 "type": "string" 1274 }, 1275 "company": { 1276 "type": "string" 1277 }, 1278 "avatarpic": { 1279 "type": "string" 1280 }, 1281 "avatarpicfound": { 1282 "type": "integer" 1283 }, 1284 "birthday": { 1285 "type": "string" 1286 }, 1287 "jobstatus": { 1288 "type": "string" 1289 }, 1290 "city": { 1291 "type": "string" 1292 }, 1293 "country": { 1294 "type": "string" 1295 }, 1296 "latitude": { 1297 "type": "string" 1298 }, 1299 "longtitude": { 1300 "type": "string" 1301 }, 1302 "ircnick": { 1303 "type": "string" 1304 }, 1305 "ircchannels": { 1306 "type": "string" 1307 }, 1308 "irclink": { 1309 "type": "string" 1310 }, 1311 "likes": { 1312 "type": "integer" 1313 }, 1314 "dontlikes": { 1315 "type": "integer" 1316 }, 1317 "interests": { 1318 "type": "string" 1319 }, 1320 "languages": { 1321 "type": "string" 1322 }, 1323 "programminglanguages": { 1324 "type": "string" 1325 }, 1326 "favouritequote": { 1327 "type": "string" 1328 }, 1329 "favouritemusic": { 1330 "type": "string" 1331 }, 1332 "favouritetvshows": { 1333 "type": "string" 1334 }, 1335 "favouritemovies": { 1336 "type": "string" 1337 }, 1338 "favouritebooks": { 1339 "type": "string" 1340 }, 1341 "favouritegames": { 1342 "type": "string" 1343 }, 1344 "description": { 1345 "type": "string" 1346 }, 1347 "profilepage": { 1348 "type": "string" 1349 } 1350 }, 1351 "xml": { 1352 "name": "person" 1353 } 1354 }, 1355 "PersonId": { 1356 "type": "object", 1357 "properties": { 1358 "details": { 1359 "type": "string", 1360 "xml": { 1361 "attribute": true 1362 } 1363 }, 1364 "personid": { 1365 "type": "string" 1366 } 1367 }, 1368 "xml": { 1369 "name": "person" 1370 } 1371 }, 1372 "MetaVote": { 1373 "type": "object", 1374 "properties": { 1375 "status": { 1376 "type": "string" 1377 }, 1378 "statuscode": { 1379 "type": "integer", 1380 "format": "int64" 1381 }, 1382 "message": { 1383 "type": "string" 1384 }, 1385 "score": { 1386 "type": "integer", 1387 "format": "int64" 1388 } 1389 }, 1390 "xml": { 1391 "name": "meta" 1392 } 1393 } 1394 }, 1395 "securitySchemes": { 1396 "BasicAuth": { 1397 "type": "http", 1398 "scheme": "basic" 1399 }, 1400 "BearerAuth": { 1401 "type": "http", 1402 "scheme": "bearer" 1403 } 1404 } 1405 } 1406 }