Vridlo/api: Difference between revisions

From ALT Linux Wiki
(vridlo.assembler.index)
 
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
==== vridlo.assembler.index ====
=== API ===
==== Package management ====
* [[Vridlo/api/vridlo.source_paths|vridlo.source_paths]]
* [[Vridlo/api/vridlo.rpms|vridlo.rpms]]
* [[Vridlo/api/vridlo.arches|vridlo.arches]]
* [[Vridlo/api/vridlo.repos|vridlo.repos]]
* [[Vridlo/api/vridlo.mirrors|vridlo.mirrors]]


Returns a list of assemblers, which are presented in the system. Do not poll this method more than once an hour.
==== Application management ====
Added in v1.0 API.
* [[Vridlo/api/vridlo.apps|vridlo.apps]]
* [[Vridlo/api/vridlo.tags|vridlo.tags]]


===== Path =====
==== User / Group management ====
* [[Vridlo/api/vridlo.users|vridlo.users]]
* [[Vridlo/api/vridlo.groups|vridlo.groups]]
* [[Vridlo/api/vridlo.permissions|vridlo.permissions]]


GET: /v1/assemblers
==== Assembler management ====
* [[Vridlo/api/vridlo.assemblers|vridlo.assemblers]]
* [[Vridlo/api/vridlo.assemblers.tasks|vridlo.assemblers.tasks]]
* [[Vridlo/api/vridlo.assemblers.tasks.exercises|vridlo.assemblers.tasks.exercises]]


===== Authentication =====
==== Package Properties management ====
* [[Vridlo/api/vridlo.files|vridlo.files]]
* [[Vridlo/api/vridlo.relations|vridlo.relations]]


This method requires NO authentication.
==== Package Support management ====
* [[Vridlo/api/vridlo.issues|vridlo.issues]]
* [[Vridlo/api/vridlo.refs|vridlo.refs]]
* [[Vridlo/api/vridlo.vcses|vridlo.vcses]]


===== Arguments =====
==== Error list ====
 
* [[Vridlo/api/vridlo.error_list|Error List]]
* per_page (Optional)
Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50.
* page (Optional)
The page of results to return. If this argument is omitted, it defaults to 1.
 
===== Example Response =====
 
[
  {
  "name": "Core Assembler"
  "host": "assembler.altlinux.org"
  "source_path_count": 3
  "export_path_base": "/export/path/to"
  },
  {
  "name": "Secondary Assembler"
  "host": "secondary.altlinux.org"
  "source_path_count": 1
  "export_path_base": "/export/path/to/sec/"
  }
]
 
===== Error Codes =====
 
* ''423:3'' '''SSL is required'''
SSL is required to access the Flickr API.
 
* ''500'' > '''Service currently unavailable'''
The requested service is temporarily unavailable.

Latest revision as of 18:54, 25 December 2019