From 5ad96ed506f286900a7c679e0a1617bab8109cc7 Mon Sep 17 00:00:00 2001 From: Miroslav Suchý Date: Feb 04 2014 12:33:23 +0000 Subject: [frontend] another s/coprs/projects/ rename --- diff --git a/coprs_frontend/coprs/templates/api.html b/coprs_frontend/coprs/templates/api.html index 4a5a9f3..bf6a897 100644 --- a/coprs_frontend/coprs/templates/api.html +++ b/coprs_frontend/coprs/templates/api.html @@ -1,13 +1,13 @@ {% extends "layout.html" %} -{% block title %}API for Coprs{% endblock %} -{% block header %}API for the Coprs Build System{% endblock %} +{% block title %}API for Copr{% endblock %} +{% block header %}API for the Copr Build System{% endblock %} {% block body %} {% if error %}

Error: {{ error }}

{% endif %}
-

Coprs API

+

Copr API

-

API Token

+

API Token

In order to access the API, you will need to provide an API token. This token is unique, specific to you and should not be shared!. @@ -43,7 +43,7 @@ copr_url = http://copr.fedoraproject.org represents result of the call and is described below for individual calls.

-

List someone's coprs

+

List someone's projects

URL:

/api/coprs/<username>/
@@ -52,23 +52,23 @@ copr_url = http://copr.fedoraproject.org

URL parameters:

Result:

@@ -102,9 +102,9 @@ copr_url = http://copr.fedoraproject.org

URL parameters:

@@ -116,11 +116,11 @@ copr_url = http://copr.fedoraproject.org URLs. Chroots are in format "<release>-<version>-<architecture>"
  • "additional_repos" – List of additional - repositories that are required for this copr
  • + repositories that are required for this project
  • "instructions" – Installation instructions - provided by copr's owner
  • -
  • "name" – Name of the copr
  • -
  • "description" – Description provided by copr's + provided by project's owner
  • +
  • "name" – Name of the project
  • +
  • "description" – Description provided by project's owner
  • "last_modified" – Datetime (in epoch format) of last successfull build.
  • @@ -150,7 +150,7 @@ copr_url = http://copr.fedoraproject.org } -

    Create new copr

    +

    Create new project

    Login required

    @@ -159,19 +159,19 @@ copr_url = http://copr.fedoraproject.org

    URL parameters:

    Parameters sent by POST:

    Add new build

    @@ -179,12 +179,12 @@ copr_url = http://copr.fedoraproject.org

    Login required

    URL:

    -
    /api/copr/<username>/<coprname>/new_build/
    +
    /api/copr/<username>/<projectname>/new_build/

    URL parameters: