Vridlo/api/vridlo.assembler.index: Difference between revisions

From ALT Linux Wiki
(Created page with "==== vridlo.assembler.index ==== Returns a list of assemblers, which are presented in the system. Do not poll this method more than once an hour. Added in v1.0 API. ===== Pa...")
 
Line 41: Line 41:
  SSL is required to access the Flickr API.
  SSL is required to access the Flickr API.


* ''500'' > '''Service currently unavailable'''
* ''500'' '''Service currently unavailable'''
  The requested service is temporarily unavailable.
  The requested service is temporarily unavailable.

Revision as of 13:48, 20 August 2019

vridlo.assembler.index

Returns a list of assemblers, which are presented in the system. Do not poll this method more than once an hour. Added in v1.0 API.

Path

GET: /v1/assemblers

Authentication

This method requires NO authentication.

Arguments
  • 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.