From 7bb0cc24938439c249e40ed597c45046efea5b87 Mon Sep 17 00:00:00 2001 From: Milo Casagrande Date: Fri, 9 Jan 2015 14:40:21 +0100 Subject: doc: Update reference to api.kernelci.org. Change-Id: I7fe8cb9dca246e50e6bc2ca7784c05d5b4e331f4 --- doc/collection-batch.rst | 2 +- doc/collection-boot.rst | 12 ++++++------ doc/collection-count.rst | 6 +++--- doc/collection-defconfig.rst | 8 ++++---- doc/collection-job.rst | 10 +++++----- doc/collection-lab.rst | 10 +++++----- doc/collection-version.rst | 2 +- doc/conf.py | 16 ++++++++-------- doc/examples.rst | 12 ++++++------ doc/intro.rst | 4 ++-- 10 files changed, 41 insertions(+), 41 deletions(-) (limited to 'doc') diff --git a/doc/collection-batch.rst b/doc/collection-batch.rst index 1893b4b..a549ed0 100644 --- a/doc/collection-batch.rst +++ b/doc/collection-batch.rst @@ -64,7 +64,7 @@ POST .. sourcecode:: http POST /batch HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Content-Type: application/json Accept: */* Authorization: token diff --git a/doc/collection-boot.rst b/doc/collection-boot.rst index 1c6a8e1..0544847 100644 --- a/doc/collection-boot.rst +++ b/doc/collection-boot.rst @@ -56,21 +56,21 @@ GET .. sourcecode:: http GET /boot/ HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /boot/omap4-panda-next-next-20140905-arm-omap2plus_defconfig HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /boot?job=next&kernel=next-20140905&field=status&field=defconfig&nfield=_id HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token @@ -165,7 +165,7 @@ POST .. sourcecode:: http POST /boot HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Content-Type: application/json Accept: */* Authorization: token @@ -213,7 +213,7 @@ DELETE .. sourcecode:: http DELETE /boot/tegra30-beaver-next-next-20140612-arm-tegra_defconfig HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Content-Type: application/json Authorization: token @@ -221,7 +221,7 @@ DELETE .. sourcecode:: http DELETE /boot?job=mainline&board=legacy,omap3-n900 HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Content-Type: application/json Authorization: token diff --git a/doc/collection-count.rst b/doc/collection-count.rst index 1aa9c51..b12e30d 100644 --- a/doc/collection-count.rst +++ b/doc/collection-count.rst @@ -55,21 +55,21 @@ GET .. sourcecode:: http GET /count/ HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /count/job/ HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /count/job?job=next&date_range=1 HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token diff --git a/doc/collection-defconfig.rst b/doc/collection-defconfig.rst index dcffd0f..a2cf12a 100644 --- a/doc/collection-defconfig.rst +++ b/doc/collection-defconfig.rst @@ -55,21 +55,21 @@ GET .. sourcecode:: http GET /defconfig/ HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /defconfig/next-next-20140905-arm-omap2plus_defconfig HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /defconfig?job=next&kernel=next-20140905&field=status&field=arch&nfield=_id HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token @@ -167,7 +167,7 @@ DELETE .. sourcecode:: http DELETE /defconfig/next-next-20140905-arm-omap2plus_defconfig HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Content-Type: application/json Authorization: token diff --git a/doc/collection-job.rst b/doc/collection-job.rst index db4af73..c53152c 100644 --- a/doc/collection-job.rst +++ b/doc/collection-job.rst @@ -48,21 +48,21 @@ GET .. sourcecode:: http GET /job/ HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /job/next-next-20140731 HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /job?date_range=12&job=arm-soc&field=status&field=kernel HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token @@ -160,7 +160,7 @@ POST .. sourcecode:: http POST /job HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Content-Type: application/json Accept: */* Authorization: token @@ -195,7 +195,7 @@ DELETE .. sourcecode:: http DELETE /job/next-next-20140612 HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Content-Type: application/json Authorization: token diff --git a/doc/collection-lab.rst b/doc/collection-lab.rst index a7c44ed..6b0c3ae 100644 --- a/doc/collection-lab.rst +++ b/doc/collection-lab.rst @@ -46,14 +46,14 @@ GET .. sourcecode:: http GET /lab/ HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token .. sourcecode:: http GET /boot/lab-01 HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Authorization: token @@ -120,7 +120,7 @@ POST .. sourcecode:: http POST /lab HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Content-Type: application/json Accept: */* Authorization: token @@ -163,7 +163,7 @@ DELETE .. sourcecode:: http DELETE /lab/lab-01 HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Content-Type: application/json Authorization: token @@ -171,7 +171,7 @@ DELETE .. sourcecode:: http DELETE /lab?private=true HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* Content-Type: application/json Authorization: token diff --git a/doc/collection-version.rst b/doc/collection-version.rst index 025295d..f844c09 100644 --- a/doc/collection-version.rst +++ b/doc/collection-version.rst @@ -23,7 +23,7 @@ GET .. sourcecode:: http GET /version HTTP/1.1 - Host: api.armcloud.us + Host: api.kernelci.org Accept: */* **Example Responses** diff --git a/doc/conf.py b/doc/conf.py index c1e1a10..18a879d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -49,8 +49,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Status Armcloud API ' -copyright = u'2014, Linaro Ltd.' +project = u'Kernel CI API ' +copyright = u'2014-2015, Linaro Ltd.' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -206,7 +206,7 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'StatusArmcloudAPI.tex', u'API Documentation', + ('index', 'KernelCIAPI.tex', u'API Documentation', u'Linaro Ltd.', 'manual'), ] @@ -236,7 +236,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'statusarmcloudapi', u'API Documentation', + ('index', 'kernelciapi', u'API Documentation', [u'Linaro Ltd.'], 1) ] @@ -250,8 +250,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'StatusArmcloudAPI', u'API Documentation', - u'Linaro Ltd.', 'StatusArmcloudAPI', 'Kernel CI API', + ('index', 'Kernel CI API', u'API Documentation', + u'Linaro Ltd.', 'Kernel CI API', 'Kernel CI API', 'Miscellaneous'), ] @@ -271,10 +271,10 @@ texinfo_documents = [ # -- Options for Epub output ---------------------------------------------- # Bibliographic Dublin Core info. -epub_title = u'Status Armcloud API' +epub_title = u'Kernel CI API' epub_author = u'Linaro Ltd.' epub_publisher = u'Linaro Ltd.' -epub_copyright = u'2014, Linaro Ltd.' +epub_copyright = u'2014-2015, Linaro Ltd.' # The basename for the epub file. It defaults to the project name. #epub_basename = u'Kernel CI Dashboard API' diff --git a/doc/examples.rst b/doc/examples.rst index 2c5d9e5..5d20eef 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -19,7 +19,7 @@ Boot reports examples from urlparse import urljoin - BACKEND_URL = 'http://api.armcloud.us' + BACKEND_URL = 'http://api.kernelci.org' AUTHORIZATION_TOKEN = 'foo' JOB = 'job' KERNEL = 'kernel' @@ -58,7 +58,7 @@ Boot reports examples from urlparse import urljoin AUTHORIZATION_TOKEN = 'foo' - BACKEND_URL = 'http://api.armcloud.us' + BACKEND_URL = 'http://api.kernelci.org' JOB = 'job' @@ -96,7 +96,7 @@ Boot reports examples from urlparse import urljoin AUTHORIZATION_TOKEN = 'foo' - BACKEND_URL = 'http://api.armcloud.us' + BACKEND_URL = 'http://api.kernelci.org' JOB = 'job' KERNEL = 'kernel' @@ -146,7 +146,7 @@ module automatically handles ``gzip`` and ``deflate`` compressions. from urlparse import urljoin AUTHORIZATION_TOKEN = 'foo' - BACKEND_URL = 'http://api.armcloud.us' + BACKEND_URL = 'http://api.kernelci.org' JOB = 'job' KERNEL = 'kernel' @@ -206,7 +206,7 @@ The response object will contain: import urlparse AUTHORIZATION_TOKEN = 'foo' - BACKEND_URL = 'http://api.armcloud.us' + BACKEND_URL = 'http://api.kernelci.org' def main(): @@ -250,7 +250,7 @@ Sending a boot report import urlparse AUTHORIZATION_TOKEN = 'foo' - BACKEND_URL = 'http://api.armcloud.us' + BACKEND_URL = 'http://api.kernelci.org' def main(): diff --git a/doc/intro.rst b/doc/intro.rst index abe36db..28f8419 100644 --- a/doc/intro.rst +++ b/doc/intro.rst @@ -78,7 +78,7 @@ Schema ------ API access is exclusively over HTTPS and accessed via the -``api.armcloud.us`` URL. +``api.kernelci.org`` URL. Data is sent and received **only** in JSON format. @@ -180,7 +180,7 @@ Basic Authentication :: - curl -H 'Authorization: token' https://api.armcloud.us/job + curl -H 'Authorization: token' https://api.kernelci.org/job Accepted Encodings -- cgit v1.2.3