UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 142 kB
{"openapi":"3.0.0","servers":[{"url":"/"}],"info":{"contact":{"name":"Open Build Service","url":"https://openbuildservice.org/"},"description":"The _Open Build Service API_ is a XML API.\n\nTo authenticate, use [HTTP basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) by passing the _Authorization_ header in the form of `Authorization: Basic <credentials>`.\n\nThere is no API versioning as there is no need for it right now.\n\nOnly rudimentary rate limiting is implemented, so please be gentle when using the API concurrently, especially with potentially expensive operations.\nIn case of abuse, we will limit/remove your access.\n\nFor command-line users, we recommend using [osc](https://github.com/openSUSE/osc) with its _api_ command to interact with the API.\nIt's as simple as this example: `osc api /about` (_about_ is one of the endpoints documented below)\n","license":{"name":"GNU General Public License v2.0","url":"https://github.com/openSUSE/open-build-service/blob/master/COPYING"},"title":"Open Build Service API","version":"2.10.50","x-apisguru-categories":["developer_tools"],"x-origin":[{"format":"openapi","url":"https://build.opensuse.org/apidocs-new/OBS-v2.10.50.yaml","version":"3.0"}],"x-providerName":"opensuse.org","x-serviceName":"obs"},"externalDocs":{"description":"Open Build Service - Documentation","url":"https://openbuildservice.org/help/"},"tags":[{"name":"General Information"},{"name":"Attributes"},{"name":"Attribute Namespaces"},{"name":"Build"},{"name":"Configuration"},{"name":"Distributions"},{"name":"Groups"},{"name":"Issue Trackers"},{"name":"Person"},{"name":"Published Binaries"},{"description":"Please, before using request endpoints, make sure you have read and understood the \"Request and Review System\" section of\nthe [user guide](https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.request_and_review_system.html).\n\nIn the next sections you will see how calls to request endpoints could be combined to fullfill different workflows.\n\n## Workflow 1: Create a Submit Request from Package A to Package B\n\nThe steps described in this workflow could be easily replicated with this command:\n`osc createrequest -a submit home:Admin:Origin A home:Admin:Destination B -m \"Submit A to B\"`\n\nThe logic involved in the creation of a submit request will require to call more endpoints. For the sake of simplicity we suppose, that:\n - The project `home:Admin:Origin` exists, with a package `A`, and it has a file called `test.txt`.\n - The latest revision of the package `home:Admin:Origin:A` is `1`.\n - The project `home:Admin:Destination` doesn't exist.\n - There aren't any other submit requests previously created with the same source and target.\n\nTo create a submit request, pass the following request body:\n```\n<request>\n <action type=\"submit\">\n <source project=\"home:Admin:Origin\" package=\"A\" rev=\"1\"/>\n <target project=\"home:Admin:Destination\" package=\"B\"/>\n </action>\n <state name=\"new\"/>\n <description>Submit A to B</description>\n</request>\n```\n... to this endpoint: `POST /request?cmd=create`\n\n\n## Workflow 2: Review a Submit Request\n**Add a User as Reviewer of a Submit Request**\n\nFirst, we make sure that a certain user can review our submit request.\nWe will add the user `test1` as a reviewer of the already created submit request.\n\nFor the sake of simplicity we suppose, that:\n - There is already a user with login name `test1`.\n - There is already a submit request with number `33`.\n\nAdding the user `test1` as a reviewer of the submit request number `33` can be performed with this command:\n`osc review add -m 'Add user test1 as reviewer' -U test1 33`\n\nThe same action can be done with this API endpoint: `POST /request/33?cmd=addreview&by_user=test1`\n\n**Mark a Review of a Submit Request as Accepted**\n\nNow that the user `test1` is a reviewer of the submit request number `33`, this user can review that submit request as `accepted`.\n\nTo review the submit request as `accepted`, issue the following command, using for authentication the login `test1`:\n`osc review accept -m 'Accept submit request' -U test1 33`\n\nThis can also be done with this API endpoint, using for authentication the login `test1`:\n`POST /request/33?cmd=changereviewstate&newstate=accepted&by_user=test1`\n\n\n## Workflow 3: Approve a Submit Request\n\nTo mark a submit request as approved means that a submit request will be automatically accepted when all the required reviews are accepted.\n\nFor the sake of simplicity let's accept that:\n - There is already a user with the login name `test1`, which is also a maintainer of the project `home:Admin`.\n - There is already a submit request with the number `44`.\n - The user with login name `test1` is a reviewer of the submit request number `44`.\n\n**Note**: The following commands or endpoints should all be executed as user `test1`.\n\n**Mark a Submit Request as Approved**\n\nTo mark a request as approved, execute the following command: `osc request approve -m 'Approve submit request' -U test1 44`\n\nThis can also be done with this endpoint (as user `test1`): `POST /request/44?cmd=approve`\n\n**Review an Already Approved Submit Request as Accepted**\n\nAfter adding a review to this submit request with state `accepted`, the submit request will automatically be accepted.\nThis is the same step that has been described previously in the last section *\"Review a Submit Request as Accepted\"*.\n\nTo perform this operation with `osc`, perform the following command: `osc review accept -m 'Accept submit request' -U test1 44`\n\nThe same can be done with the following endpoint: `POST /request/44?cmd=changereviewstate&newstate=accepted&by_user=test1`\n","externalDocs":{"url":"https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.request_and_review_system.html"},"name":"Request"},{"name":"Workers"}],"paths":{"/about":{"get":{"description":"Get generic information about the API.","responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"commit":{"example":"7b5d82e6143442a8eb8459f35cc94d2fbe263ebe","type":"string"},"description":{"example":"API to the Open Build Service","type":"string"},"last_deployment":{"example":"2020-11-10 15:07:02 +0000","type":"string"},"revision":{"example":"2.11~alpha.20201110T101235.7b5d82e614","type":"string"},"title":{"example":"Open Build Service API","type":"string"}},"required":["title","description","revision"],"type":"object","xml":{"name":"about"}}}},"description":"OK. The request has succeeded.\n\nXML Schema used for body validation: [about.xsd](../schema/about.xsd)\n"}},"summary":"Get information about API.","tags":["General Information"]}},"/architectures":{"get":{"description":"Get a list of all known architectures known to OBS in general. This is not the list of architectures provided by this instance. Check the schedulers element from the `/configuration` route for this.\n","responses":{"200":{"content":{"application/xml; charset=utf-8":{"example":{"count":"4","entry":[{"name":"aarch64"},{"name":"armv7l"},{"name":"s390x"},{"name":"x86_64"}]},"schema":{"properties":{"count":{"type":"integer","xml":{"attribute":true}},"entry":{"items":{"properties":{"name":{"type":"string","xml":{"attribute":true}}},"type":"object"},"type":"array"}},"type":"object","xml":{"name":"directory"}}}},"description":"OK. The request has succeeded."},"401":{"content":{"application/xml; charset=utf-8":{"examples":{"anonymous_user":{"summary":"Anonymous User","value":{"code":"anonymous_user","summary":"Anonymous user is not allowed here - please login"}},"authentication_required":{"summary":"Authentication Required","value":{"code":"authentication_required","summary":"Unknown user 'Admin' or invalid password"}}},"schema":{"properties":{"code":{"type":"string","xml":{"attribute":true}},"data":{"items":{"type":"string"},"type":"array"},"details":{"type":"string"},"summary":{"type":"string"}},"type":"object","xml":{"name":"status"}}}},"description":"Unauthorized.\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"}},"security":[{"basic_authentication":[]}],"summary":"List all known architectures.","tags":["General Information"]}},"/architectures/{architecture_name}":{"get":{"description":"Show information about one architecture.","parameters":[{"description":"Architecture name","example":"x86_64","in":"path","name":"architecture_name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"example":{"name":"x86_64"},"properties":{"name":{"type":"string","xml":{"attribute":true}}},"type":"object","xml":{"name":"architecture"}}}},"description":"OK. The request has succeeded."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"example":{"code":"unknown_architecture","summary":"Architecture does not exist: x999"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Show one architecture.","tags":["General Information"]}},"/attribute":{"get":{"description":"List all attribute namespaces.","responses":{"200":{"content":{"application/xml; charset=utf-8":{"example":{"count":"2","entry":[{"name":"OBS"},{"name":"openSUSE"}]},"schema":{"$ref":"#/paths/~1architectures/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"OK. The request has succeeded.\n\nXML Schema used for body validation: [directory.xsd](../schema/directory.xsd)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"}},"security":[{"basic_authentication":[]}],"summary":"List all attribute namespaces.","tags":["Attribute Namespaces"]}},"/attribute/{namespace}":{"delete":{"description":"Delete an attribute namespace and all attributes below.\n\nThis operation is the same as the one defined with [DELETE /attribute/{namespace}/_meta](#/Attributes/delete_attribute__namespace___meta).\n","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"example":{"code":"ok","summary":"Ok"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"OK. The request has succeeded.\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"}},"security":[{"basic_authentication":[]}],"summary":"Delete an attribute namespace and all attributes below.","tags":["Attribute Namespaces"]},"get":{"description":"List all attributes under a given attribute namespace.","parameters":[{"description":"The namespace","example":"OBS_TEST","in":"path","name":"namespace","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"example":{"count":"2","entry":[{"name":"AutoCleanup"},{"name":"OwnerRootProject"}]},"schema":{"$ref":"#/paths/~1architectures/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"OK. The request has succeeded.\n\nXML Schema used for body validation: [directory.xsd](../schema/directory.xsd)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"example":{"code":"not_found","summary":"Couldn't find AttribNamespace"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"List all attributes below a namespace.","tags":["Attribute Namespaces"]}},"/attribute/{namespace}/_meta":{"delete":{"description":"Delete an attribute namespace and all attributes below.\n\nThis operation is the same as the one defined with [DELETE /attribute/{namespace}](#/Attributes/delete_attribute__namespace_).\n","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"}],"responses":{"200":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/delete/responses/200"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"}},"security":[{"basic_authentication":[]}],"summary":"Delete an attribute namespace and all attributes below.","tags":["Attribute Namespaces"]},"get":{"description":"Shows attribute namespace.","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"modifiable_by":{"items":{"properties":{"user":{"example":"user_login_name","type":"string","xml":{"attribute":true}}},"type":"object"},"type":"array"},"name":{"example":"OBS_TEST","type":"string","xml":{"attribute":true}}},"type":"object","xml":{"name":"namespace"}}}},"description":"OK. The request has succeeded.\n\nXML Schema used for body validation: [attribute_namespace_meta.xsd](../schema/attribute_namespace_meta.xsd)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"example":{"code":"not_found","summary":"Couldn't find AttribNamespace"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Show attribute namespace.","tags":["Attribute Namespaces"]},"post":{"description":"This endpoint can be used for both, creating an attribute namespace and updating it:\n * If the attribute namespace passed as parameter doesn't exist, it will create the attribute namespace.\n * If the attribute namespace passed as parameter already exists, it will update the namespace attribute.\n\nThis operation is the same as the one defined with [PUT](#/Attributes/put_attribute__namespace___meta).\n","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"}],"requestBody":{"content":{"application/xml; charset=utf-8":{"schema":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D~1_meta/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Attribute namespace definition.\n\nXML Schema used for body validation: [attribute_namespace_meta.xsd](../schema/attribute_namespace_meta.xsd)\n","required":true},"responses":{"200":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/delete/responses/200"},"400":{"content":{"application/xml; charset=utf-8":{"examples":{"empty_body":{"summary":"Validation Failed (Empty Body)","value":{"code":"validation_failed","summary":"Document is empty, not allowed for attribute_namespace_meta"}},"wrong_xml_element":{"summary":"Validation Failed (Wrong XML Element)","value":{"code":"validation_failed","summary":"attribute_namespace_meta validation error: 1:0: ERROR: Element 'foo': No matching global declaration available for the validation root."}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Validation Failed."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"examples":{"namespace":{"summary":"Not Found (Namespace)","value":{"code":"not_found","summary":"Couldn't find AttribNamespace"}},"user":{"summary":"Not Found (User)","value":{"code":"not_found","summary":"Couldn't find User with login = user_login_name"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Change attribute namespace. Create an attribute namespace if it doesn't exist.","tags":["Attribute Namespaces"]},"put":{"description":"This endpoint can be used for both, creating an attribute namespace and updating it:\n * If the attribute namespace passed as parameter doesn't exist, it will create the attribute namespace.\n * If the attribute namespace passed as parameter already exists, it will update the namespace attribute.\n\nThis operation is the same as the one defined with [POST](#/Attributes/post_attribute__namespace___meta).\n","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"}],"requestBody":{"content":{"application/xml; charset=utf-8":{"schema":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D~1_meta/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Attribute namespace definition.\n\nXML Schema used for body validation: [attribute_namespace_meta.xsd](../schema/attribute_namespace_meta.xsd)\n","required":true},"responses":{"200":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/delete/responses/200"},"400":{"content":{"application/xml; charset=utf-8":{"examples":{"empty_body":{"summary":"Validation Failed (Empty Body)","value":{"code":"validation_failed","summary":"Document is empty, not allowed for attribute_namespace_meta"}},"wrong_xml_element":{"summary":"Validation Failed (Wrong XML Element)","value":{"code":"validation_failed","summary":"attribute_namespace_meta validation error: 1:0: ERROR: Element 'foo': No matching global declaration available for the validation root."}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Validation Failed."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"examples":{"namespace":{"summary":"Not Found (Namespace)","value":{"code":"not_found","summary":"Couldn't find AttribNamespace"}},"user":{"summary":"Not Found (User)","value":{"code":"not_found","summary":"Couldn't find User with login = user_login_name"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Change attribute namespace. Create an attribute namespace if it doesn't exist.","tags":["Attribute Namespaces"]}},"/attribute/{namespace}/{attribute_name}":{"delete":{"description":"Delete an attribute and all its values in projects or packages.\n\nThis operation is the same as the one defined with [DELETE /attribute/{namespace}/{attribute_name}/_meta](#/Attributes/delete_attribute__namespace___attribute_name___meta)\n","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"},{"description":"The name of the attribute","example":"OwnerRootProjectTest","in":"path","name":"attribute_name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/delete/responses/200"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"examples":{"namespace":{"summary":"Not Found (Namespace)","value":{"code":"not_found","summary":"Couldn't find AttribNamespace"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Delete an attribute and all its values in projects or packages.","tags":["Attributes"]}},"/attribute/{namespace}/{attribute_name}/_meta":{"delete":{"description":"Delete an attribute and all its values in projects or packages.\n\nThis operation is the same as the one defined with [DELETE /attribute/{namespace}/{attribute_name}](#/Attributes/delete_attribute__namespace___attribute_name_)\n","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"},{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D~1%7Battribute_name%7D/delete/parameters/1"}],"responses":{"200":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/delete/responses/200"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"examples":{"namespace":{"summary":"Not Found (Namespace)","value":{"code":"not_found","summary":"Couldn't find AttribNamespace"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Delete an attribute and all its values in projects or packages.","tags":["Attributes"]},"get":{"description":"Shows attribute.","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"},{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D~1%7Battribute_name%7D/delete/parameters/1"}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"allowed":{"properties":{"value":{"example":["DisableDevelTest","BugownerOnlyTest"],"items":{"type":"string"},"type":"array"}},"type":"object"},"count":{"example":0,"type":"integer"},"description":{"example":"An example description for an attribute.","type":"string"},"modifiable_by":{"items":{"properties":{"user":{"example":"user_login_name","type":"string","xml":{"attribute":true}}},"type":"object"},"type":"array"},"name":{"example":"OBS_TEST","type":"string","xml":{"attribute":true}},"namespace":{"example":"OwnerRootProjectTest","type":"string","xml":{"attribute":true}}},"type":"object","xml":{"name":"definition"}}}},"description":"OK. The request has succeeded."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"examples":{"namespace":{"summary":"Not Found (Namespace)","value":{"code":"not_found","summary":"Couldn't find AttribNamespace"}},"unknown_attribute":{"summary":"Unknown Attribute","value":{"code":"unknown_attribute","summary":"Unknown attribute 'OBS_TEST':'OwnerRootProjectTest'"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Shows attribute.","tags":["Attributes"]},"post":{"description":"This endpoint can be used for both, creating an attribute and updating it:\n * If the attribute passed as parameter doesn't exist, it will create the attribute.\n * If the attribute passed as parameter already exists, it will update the attribute.\n\nThis operation is the same as the one defined with [PUT](#/Attributes/put_attribute__namespace___attribute_name___meta).\n","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"},{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D~1%7Battribute_name%7D/delete/parameters/1"}],"requestBody":{"content":{"application/xml; charset=utf-8":{"schema":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D~1%7Battribute_name%7D~1_meta/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Attribute definition.","required":true},"responses":{"200":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/delete/responses/200"},"400":{"content":{"application/xml; charset=utf-8":{"examples":{"empty_body":{"summary":"Validation Failed (Empty Body)","value":{"code":"validation_failed","summary":"Document is empty, not allowed for attrib_type"}},"illegal_request":{"summary":"Illegal Request","value":{"code":"illegal_request","summary":"Illegal request: PUT/POST /attribute/OBS_TEST/OwnerRootProjectTest/_meta: path does not match content"}},"wrong_xml_element":{"summary":"Validation Failed (Wrong XML Attributes)","value":{"code":"validation_failed","summary":"attrib_type validation error: 1:0: ERROR: Element definition failed to validate attributes"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Validation Failed."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"examples":{"namespace":{"summary":"Not Found (Namespace)","value":{"code":"not_found","summary":"Couldn't find AttribNamespace"}},"unknown_attribute":{"summary":"Unknown Attribute","value":{"code":"unknown_attribute","summary":"Unknown attribute 'OBS_TEST':'OwnerRootProjectTest'"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Change attribute data. Create an attribute if it doesn't exist.","tags":["Attributes"]},"put":{"description":"This endpoint can be used for both, creating an attribute and updating it:\n * If the attribute passed as parameter doesn't exist, it will create the attribute.\n * If the attribute passed as parameter already exists, it will update the attribute.\n\nThis operation is the same as the one defined with [POST](#/Attributes/post_attribute__namespace___attribute_name___meta).\n","parameters":[{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/get/parameters/0"},{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D~1%7Battribute_name%7D/delete/parameters/1"}],"requestBody":{"content":{"application/xml; charset=utf-8":{"schema":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D~1%7Battribute_name%7D~1_meta/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Attribute definition.","required":true},"responses":{"200":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/delete/responses/200"},"400":{"content":{"application/xml; charset=utf-8":{"examples":{"empty_body":{"summary":"Validation Failed (Empty Body)","value":{"code":"validation_failed","summary":"Document is empty, not allowed for attrib_type"}},"illegal_request":{"summary":"Illegal Request","value":{"code":"illegal_request","summary":"Illegal request: PUT/POST /attribute/OBS_TEST/OwnerRootProjectTest/_meta: path does not match content"}},"wrong_xml_element":{"summary":"Validation Failed (Wrong XML Attributes)","value":{"code":"validation_failed","summary":"attrib_type validation error: 1:0: ERROR: Element definition failed to validate attributes"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Validation Failed."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"examples":{"namespace":{"summary":"Not Found (Namespace)","value":{"code":"not_found","summary":"Couldn't find AttribNamespace"}},"unknown_attribute":{"summary":"Unknown Attribute","value":{"code":"unknown_attribute","summary":"Unknown attribute 'OBS_TEST':'OwnerRootProjectTest'"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"Change attribute data. Create an attribute if it doesn't exist.","tags":["Attributes"]}},"/build":{"get":{"description":"Get a simple directory listing of all projects","responses":{"200":{"content":{"application/xml; charset=utf-8":{"example":{"entry":[{"name":"openSUSE:Leap:15.1"},{"name":"openSUSE:Leap:15.2"}]},"schema":{"$ref":"#/paths/~1architectures/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"OK\n\nXML Schema used for body validation: [directory.xsd](../schema/directory.xsd)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"}},"security":[{"basic_authentication":[]}],"summary":"Get a simple directory listing of all projects","tags":["Build"]}},"/build/{project_name}":{"get":{"description":"Get a simple directory listing of all repositories for the specified project","parameters":[{"description":"Project name","example":"home:Admin","in":"path","name":"project_name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"example":{"entry":[{"name":"openSUSE_Tumbleweed"},{"name":"openSUSE_Leap_15.3"}]},"schema":{"$ref":"#/paths/~1architectures/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"OK\n\nXML Schema used for body validation: [directory.xsd](../schema/directory.xsd)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"examples":{"Unknown Project":{"value":{"code":"unknown_project","summary":"Project not found: <some project>."}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Unknown project.\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"}},"security":[{"basic_authentication":[]}],"summary":"Get a simple directory listing of all repositories for the specified project","tags":["Build"]},"post":{"description":"Apply different actions on builds/build processes of the specified project","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"description":"Name of the package. Scope the commands to the specified package.","example":"firefox","in":"query","name":"package","schema":{"type":"string"}},{"description":"Name of the build architecture. Scope the commands to the specified architectures.","example":"x86_64","in":"query","name":"arch","schema":{"type":"string"}},{"description":"Name of the repository. Scope the commands to the specified repository.","example":"openSUSE_Leap_15.2","in":"query","name":"repository","schema":{"type":"string"}},{"description":"**NOTE**: All commands described below, can be scoped to a package within the project by setting the `package`\nparameter.\n\n* `wipe`: Delete all binaries build by the project.\n* `restartbuild`: Restart all running build processes inside the project.\n* `rebuild`: Trigger a rebuild of all packages inside the project.\n* `abortbuild`: Abort all running build processes for the specified project, marking them as failed.\n* `killbuild`: Alias for `abortbuild`.\n* `unpublish`: Delete all published package binaries, for the specified project, from the download repository.\n* `sendsysrq`: Send a single sysrq character to the kernel of a running build. Character need to be specified\n through the `sysrq` parameter. Only a subset of debugging requests are supported (eg. 9, t or w).\n","in":"query","name":"cmd","required":true,"schema":{"enum":["wipe","restartbuild","killbuild","abortbuild","rebuild","unpublish","sendsysrq"],"type":"string"}}],"responses":{"200":{"$ref":"#/paths/~1attribute~1%7Bnamespace%7D/delete/responses/200"},"400":{"content":{"application/xml; charset=utf-8":{"examples":{"Illegal Request":{"value":{"code":"illegal_request","summary":"unsupported POST command '<some command>' to <some url>."}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Illegal request.\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"},"403":{"content":{"application/xml; charset=utf-8":{"examples":{"Execute cmd no permission":{"value":{"code":"execute_cmd_no_permission","summary":"No permission to execute command on package <some package> in project <some project>"}}},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Execute command no permission.\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"},"404":{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/responses/404"}},"security":[{"basic_authentication":[]}],"summary":"Apply different actions on builds/build processes of the specified project","tags":["Build"]}},"/build/{project_name}/_result":{"get":{"description":"Get the build results for packages, architectures and repositories of the specified project.","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"description":"Specify which sections should be included in the result list.\n\n* `status`: Include detailed infos about the build status. **Default**\n* `summary`: Include the summary of the status values.\n* `binarylist`: Include a list of generated binary files.\n","in":"query","name":"view","schema":{"enum":["summary","status","binarylist"],"type":"string"}},{"description":"Name of the package. Limit results to the specified package.","example":"obs-server","in":"query","name":"package","schema":{"type":"string"}},{"description":"Name of the build architecture. Limit results to the specified build architecture.","example":"x86_64","in":"query","name":"arch","schema":{"type":"string"}},{"description":"Name of the repository. Limit results to the specified repository.","example":"openSUSE_Leap_15.2","in":"query","name":"repository","schema":{"type":"string"}},{"description":"Show the last build result (excludes current building job states).","example":1,"in":"query","name":"lastbuild","schema":{"type":"boolean"}},{"description":"Include build results from packages with project local links.","example":1,"in":"query","name":"locallink","schema":{"type":"boolean"}},{"description":"Include build results from _multibuild definitions.","example":1,"in":"query","name":"multibuild","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"result":{"items":{"properties":{"arch":{"example":"x86_64","type":"string","xml":{"attribute":true}},"binarylist":{"items":{"properties":{"binary":{"items":{"properties":{"filename":{"example":"hello-2.10-3.1.x86_64.rpm","type":"string","xml":{"attribute":true}},"mtime":{"example":"1617270174","type":"string","xml":{"attribute":true}},"size":{"example":"58352","type":"string","xml":{"attribute":true}}},"type":"object"},"type":"array"},"package":{"example":"ctris","type":"string","xml":{"attribute":true}}},"type":"object"},"type":"array"},"code":{"example":"published","type":"string","xml":{"attribute":true}},"project":{"example":"home:foo","type":"string","xml":{"attribute":true}},"repository":{"example":"openSUSE_Leap_15.3","type":"string","xml":{"attribute":true}},"state":{"example":"published","type":"string","xml":{"attribute":true}},"status":{"items":{"properties":{"code":{"example":"succeeded","type":"string","xml":{"attribute":true}},"details":{"example":"package whitelist","type":"string"},"package":{"example":"ctris","type":"string","xml":{"attribute":true}}},"type":"object"},"type":"array"},"summary":{"properties":{"statuscount":{"items":{"properties":{"code":{"example":"disabled","type":"string","xml":{"attribute":true}},"count":{"example":"2","type":"string","xml":{"attribute":true}}},"type":"object"},"type":"array"}},"type":"object"}},"type":"object"},"type":"array"},"state":{"example":"e096d16554264fa553ca0aa3226cf189","type":"string","xml":{"attribute":true}}},"type":"object","xml":{"name":"resultlist"}}}},"description":"OK.\n\nXML Schema used for body validation: [buildresult.rng](../schema/buildresult.rng)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/responses/404"}},"security":[{"basic_authentication":[]}],"summary":"Get the build results for packages, architectures and repositories of the specified project.","tags":["Build"]}},"/build/{project_name}/{repository_name}":{"get":{"description":"List of all architectures the specified project builds against a given repository.","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"description":"Repository name","example":"openSUSE_Tumbleweed","in":"path","name":"repository_name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"example":{"entry":[{"name":"x86_64"},{"name":"i586"}]},"schema":{"$ref":"#/paths/~1architectures/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"OK\n\nXML Schema used for body validation: [directory.xsd](../schema/directory.xsd)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"example":{"code":404,"details":"404 project '<project_name>' has no repository '<repository_name>'","summary":"project '<project_name>' has no repository '<repository_name>'"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Not Found."}},"security":[{"basic_authentication":[]}],"summary":"List of all architectures the specified project builds against a given repository.","tags":["Build"]}},"/build/{project_name}/{repository_name}/_buildconfig":{"get":{"description":"Show the build configuration for the specified repository. Includes all base package requirements, mappings and macros.\n","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D/get/parameters/1"}],"responses":{"200":{"content":{"text/plain":{"example":"%define _project home:Admin\n\n### from openSUSE.org:openSUSE:Leap:15.2\n%define _repository standard\n\nMacros:\n%vendor obs://build.some.where/home:Admin\n%_project home:Admin\n\n### from openSUSE.org:openSUSE:Leap:15.2\n\n%_repository standard\n:Macros\n\n\nRelease: <CI_CNT>.<B_CNT> spec:lp152.<CI_CNT>.<B_CNT>\n%define gcc_version 7\n\n# testing new cycle algorithm\nBuildFlags: genmetaalgo:1\n\n# abort the build if the log file didn't move in an hour (seen in libreoffice builds)\nBuildFlags: logidlelimit:3600\n\nPublishFlags: ympdist:openSUSE%20Leap%2015.2\n\n# Help with the switch to the gcc7 provided libs\nPrefer: -libstdc++6-gcc7 -libtsan0-gcc7 -libgomp1-gcc7 -libgcc_s1-gcc7 -libatomic1-gcc7 -libcilkrts5-gcc7 -libitm1-gcc7\nPrefer: -liblsan0-gcc7 -libmpx2-gcc7 -libubsan0-gcc7\n"}},"description":"OK"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/responses/404"}},"security":[{"basic_authentication":[]}],"summary":"Show the build configuration for the specified repository.","tags":["Build"]}},"/build/{project_name}/{repository_name}/{architecture_name}/_builddepinfo":{"get":{"description":"Show the build dependencies of packages that are part of the project, for a given repository and architecture.\n","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D/get/parameters/1"},{"$ref":"#/paths/~1architectures~1%7Barchitecture_name%7D/get/parameters/0"},{"description":"Name of the package. Limit results to the specified package.","example":"obs-server","in":"query","name":"package","schema":{"type":"string"}},{"description":"* `pkgnames`: Show whole package dependencies, instead of individual binaries.\n* `revpkgnames`: Show which packages depend on the provided project/package for\n the given repository/architecture, and therefore a rebuild gets triggered on change.\n* `order`: Show packages ordered by dependencies.\n","in":"query","name":"view","schema":{"enum":["pkgnames","revpkgnames","order"],"type":"string"}}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"package":{"items":{"properties":{"name":{"example":"memcached","type":"string","xml":{"attribute":true}},"pkgdep":{"items":{"example":["gzip","obs-server"],"type":"string"},"type":"array"},"source":{"example":"memcached","type":"string"},"subpkg":{"items":{"example":["memcached-devel","memcached-debugsource"],"type":"string"},"type":"array"}},"type":"object"},"type":"array"}},"type":"object","xml":{"name":"builddepinfo"}}}},"description":"OK"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/responses/404"}},"security":[{"basic_authentication":[]}],"summary":"Show the build dependencies of packages that are part of the project.","tags":["Build"]}},"/build/{project_name}/{repository_name}/{architecture_name}/_repository":{"get":{"description":"List all binaries (produced by all packages of the given project) for the specified repository and architecture.\n","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D/get/parameters/1"},{"$ref":"#/paths/~1architectures~1%7Barchitecture_name%7D/get/parameters/0"}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"binary":{"items":{"properties":{"filename":{"example":"hello-2.10-3.1.x86_64.rpm","type":"string","xml":{"attribute":true}},"mtime":{"example":"1617270174","type":"string","xml":{"attribute":true}},"size":{"example":"58352","type":"string","xml":{"attribute":true}}},"type":"object"},"type":"array"}},"type":"object","xml":{"name":"binarylist"}}}},"description":"OK."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/responses/404"}},"security":[{"basic_authentication":[]}],"summary":"List all binaries (produced by all packages of the given project).","tags":["Build"]}},"/build/{project_name}/{repository_name}/{architecture_name}/{package_name}":{"get":{"description":"List binaries built by the sources of the specified package.","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D/get/parameters/1"},{"$ref":"#/paths/~1architectures~1%7Barchitecture_name%7D/get/parameters/0"},{"description":"Package name","example":"ctris","in":"path","name":"package_name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D~1%7Barchitecture_name%7D~1_repository/get/responses/200/content/application~1xml;%20charset=utf-8/schema"}}},"description":"OK."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/responses/404"}},"security":[{"basic_authentication":[]}],"summary":"List binaries built by the sources of the specified package.","tags":["Build"]}},"/build/{project_name}/{repository_name}/{architecture_name}/{package_name}/_buildinfo":{"get":{"description":"This endpoint returns information about some specific artifact","operationId":"getBuildProjectRepositoryArchPackageBuildinfo","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D/get/parameters/1"},{"$ref":"#/paths/~1architectures~1%7Barchitecture_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D~1%7Barchitecture_name%7D~1%7Bpackage_name%7D/get/parameters/3"}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"arch":{"example":"i586","type":"string"},"bcnt":{"example":"2","type":"string"},"bdep":{"properties":{"arch":{"example":"i586","type":"string","xml":{"attribute":true}},"name":{"example":"liblua5_4-5","type":"string","xml":{"attribute":true}},"notmeta":{"example":"1","type":"string","xml":{"attribute":true}},"preinstall":{"example":"1","type":"string","xml":{"attribute":true}},"project":{"example":"openSUSE.org:openSUSE:Tumbleweed","type":"string","xml":{"attribute":true}},"release":{"example":"3.1","type":"string","xml":{"attribute":true}},"repository":{"example":"dod","type":"string","xml":{"attribute":true}},"version":{"example":"5.4.2","type":"string","xml":{"attribute":true}}},"type":"object"},"debuginfo":{"example":0,"type":"integer"},"file":{"example":"ctris.spec","type":"string"},"package":{"example":"ctris","type":"string","xml":{"attribute":true}},"path":{"x-project":{"example":"home:Admin","type":"string","xml":{"attribute":true}},"x-repository":{"example":"openSUSE_Tumbleweed","type":"string","xml":{"attribute":true}}},"project":{"example":"home:Admin","type":"string","xml":{"attribute":true}},"release":{"example":"3.2","type":"string"},"repository":{"example":"openSUSE_Tumbleweed","type":"string","xml":{"attribute":true}},"rev":{"example":3,"type":"integer"},"specfile":{"example":"ctris.spec","type":"string"},"srcmd5":{"example":"6b7c8d9cb5c5d36453c1dc8e102016b1","type":"string"},"subpack":{"example":"ctris","type":"string"},"verifymd5":{"example":"6b7c8d9cb5c5d36453c1dc8e102016b1","type":"string"},"versrel":{"example":"0.42.1-3","type":"string"}},"type":"object","xml":{"name":"buildinfo"}}}},"description":"Returns the artifact building information."},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"example":{"code":"unknown_project","summary":"Project not found: 1"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Error: Not Found\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"}},"security":[{"basic_authentication":[]}],"tags":["Build"]}},"/build/{project_name}/{repository_name}/{architecture_name}/{package_name}/_history":{"get":{"description":"This endpoint returns the build history for a specific artifact","operationId":"getBuildProjectRepositoryArchPackageHistory","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D/get/parameters/1"},{"$ref":"#/paths/~1architectures~1%7Barchitecture_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D~1%7Barchitecture_name%7D~1%7Bpackage_name%7D/get/parameters/3"}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"entry":{"properties":{"bcnt":{"example":"1","type":"string","xml":{"attribute":true}},"duration":{"example":"222","type":"string","xml":{"attribute":true}},"rev":{"example":"4","type":"string","xml":{"attribute":true}},"srcmd5":{"example":"63a6f075d3d420c6c1160a7b5dc31354","type":"string","xml":{"attribute":true}},"time":{"example":"1617812788","type":"string","xml":{"attribute":true}},"versrel":{"example":"0.42.1-4","type":"string","xml":{"attribute":true}}},"type":"object"}},"type":"object","xml":{"name":"buildhistory"}}}},"description":"Returns ok when the build status is ok"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"content":{"application/xml; charset=utf-8":{"example":{"code":"unknown_project","summary":"Project not found: 1"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Error: Not Found\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"}},"security":[{"basic_authentication":[]}],"tags":["Build"]}},"/build/{project_name}/{repository_name}/{architecture_name}/{package_name}/_jobstatus":{"get":{"description":"Show the build status of a currently running build job. Shows an empty result if no build job is running.\n","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D/get/parameters/1"},{"$ref":"#/paths/~1architectures~1%7Barchitecture_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D~1%7Barchitecture_name%7D~1%7Bpackage_name%7D/get/parameters/3"}],"responses":{"200":{"content":{"application/xml; charset=utf-8":{"schema":{"properties":{"code":{"example":"building","type":"string","xml":{"attribute":true}},"hostarch":{"example":"x86_64","type":"string"},"jobid":{"example":"17c8d25b92da67f6ec428ea51a9b5342","type":"string"},"lastduration":{"example":"43","type":"string"},"starttime":{"example":"1618222900","type":"string"},"uri":{"example":"http://172.18.0.5:38963","type":"string"}},"type":"object","xml":{"name":"jobstatus"}}}},"description":"OK.\n\nXML Schema used for body validation: [jobstatus.rng](../schema/jobstatus.rng)\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"404":{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/responses/404"}},"security":[{"basic_authentication":[]}],"summary":"Show the build status of a currently running build job.","tags":["Build"]}},"/build/{project_name}/{repository_name}/{architecture_name}/{package_name}/_log":{"get":{"description":"This endpoint returns the last log file for a specific build artifact","operationId":"getBuildProjectRepositoryArchPackageLog","parameters":[{"$ref":"#/paths/~1build~1%7Bproject_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D/get/parameters/1"},{"$ref":"#/paths/~1architectures~1%7Barchitecture_name%7D/get/parameters/0"},{"$ref":"#/paths/~1build~1%7Bproject_name%7D~1%7Brepository_name%7D~1%7Barchitecture_name%7D~1%7Bpackage_name%7D/get/parameters/3"}],"responses":{"200":{"content":{"text/plain":{"example":"[ 0s] Memory limit set to 23077696KB\n[ 0s] Using BUILD_ROOT=/var/cache/obs/worker/root_2\n[ 0s] Using BUILD_ARCH=i586:i486:i386\n[ 0s] \n[ 0s] \n[ 0s] 5d0262043f4a started \"build ctris.spec\" at Tue Apr 6 12:27:31 UTC 2021.\n[ 0s] \n[ 0s] Building ctris for project 'home:Admin' repository 'openSUSE_Tumbleweed' arch 'i586' srcmd5 '6b7c8d9cb5c5d36453c1dc8e102016b1'\n"}},"description":"This endpoint returns the log file content\n"},"401":{"$ref":"#/paths/~1architectures/get/responses/401"},"403":{"content":{"application/xml; charset=utf-8":{"example":{"code":"download_binary_no_permission","summary":"No permission to download binaries from package ctris, project home:Admin"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Error: Not Acceptable\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"},"404":{"content":{"application/xml; charset=utf-8":{"example":{"code":"unknown_project","summary":"Project not found: 1"},"schema":{"$ref":"#/paths/~1architectures/get/responses/401/content/application~1xml;%20charset=utf-8/schema"}}},"description":"Error: Not Found\n\nXML Schema used for body validation: [status.xsd](../schema/status.xsd)\n"}},"security":[{"basic_authentication":[]}],"tags":["Build"]}},"/build/{pr