Abiquo 2.6


Skip to end of metadata
Go to start of metadata

API version Resource

Exposed Resources Hierarchy
API version Resource

Contents:

Resource to retrieve the API Version

Main URI of the Resource

This class operates mainly over the Resource URI: /version

Exposed Methods.

Return API Version

Returns Api version

Synopsis: GET http://example.com/api/version
Roles Needed: ROLE_AUTHENTICATED
Request Headers: Accept:text/plain;
Request Parameters:

Parameter

Required

Default Value

Description

 

 

 

 

Request Message Body Entity:
Response Message Body Entity: String
Request Example:

Return API Version example
curl -X GET http://example.com/api/version" 
	 -H "Accept:text/plain"
     -u user:password --verbose

> GET /api/version HTTP/1.1
> Accept:text/plain

< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Content-Type: text/plain

2.6.0

Synopsis: GET http://example.com/api/version
Roles Needed: ROLE_AUTHENTICATED
Request Headers: Accept:text/ascii;
Request Parameters:

Parameter

Required

Default Value

Description

number

 

Current Version

Number of the version

Request Message Body Entity:
Response Message Body Entity: String
Request Example:

Version's Logo example
curl -X GET http://example.com/api/version" 
	 -H "Accept:text/ascii"
     -u user:password --verbose


> GET /api/version HTTP/1.1
> Accept:text/ascii
> 
< HTTP/1.1 200 OK
< Content-Type: text/ascii

++++++++++++++++???+?+??+????+?ONNNNNNNDDDDDNDNNDD$?==+~~~~~~======~===:DDNDDNDDDDDDDNNNDDDDDDDNNNND
+++++++++++++++++++++++++++????NDDNDNNNDDDNNNNDDDI+===+==~~~~~~~~~~~~==~~DNDDDDDDDDNNNDNDNDDDNNNNNDN
++++++++++++++++++++++++++++++?ZDDNDDNDND~$NDNDD8+========~~~~~~~~~~~~~~~ONNDDNDNNNNNNDNDDNDDDNNNNDD
++++++++++++++++++++++++++++++++NNNNNNDDM~~DDDND===========~~~~~~~~~~~~~~~ODNDNNNNNNNNNDDDDDDNNNNNNN
++++++++++++++++++++++++++++++++NNNNNNNN===NDNND============~~~~~~~~~~~~~~~DDNNNNNDDDNN7+=+$MNNNNNNN
++++++++++++++++++++?++++++++++?NDDNNNNN~===DNN======~~======~~~~~~~~~~~~~~$NDNDDO777:,,?:,,,::~?DDD
+++++++++++++++++++++++++++++++?ODDNNNND====8DM=====~~=======~~~~~~~~~~~~~~~NDNN?7I.:,,~,,,,,,,::::D
+++++++++++++++++++++++++++++++++DDNNNN~====~N8====~~=========~~~~~~~~~~~~~~NDDI77:===I,,,,,,NDM.,::
+++++++++++++++++++++++++++++++?+NNNNNN~=====N~===~~==========~~~~~~~~~~~~:DNNZI78$===7,,.,,,7ZON:::
+++++++++++++++++++++++++++++++++ZDNNDM~=====O==~~~~===========~~~~~~~~88DNNDD777$I==I,,,,.,,:OOZ$:,
++++++++++++++++++++++++++++++++++NDNN$~========~~~~===========~~~~~~~~:?$NDDN7I$~~+=I,....,,,ZODN:,
++++++++++++++++++++++++++++++++++7NNN+=========~:~=============~~~~~~:::Z=..,,,,,..7,,.....,.88ON::
+++++++++++++++++++++++++++++++++++DDN==========~~=========~===88~DO$7I=Z............I,.....,.$OOD,:
++++++++++++++++++++++++++++++++++++ND+=======I~~~~=====++Z~N8DO8D8ZZ$I+Z~.=:......NN$,......,ZOOO,~
+++++++++++++++++++++++++++++++++++?DNI=======Z=~~=~=+~INDD8D8O$DDOZOZ7?+=~.~.=,...MMN,,.....,$OOO=:
++++++++++++++++++++++++++++++=+=====DZ$MZ+====~~===ONNDDNDDDOONOZ7OOZ7I?==~,:=....MNN,.......ZOOO::
+++++++++++++========+==============+78NNNDZ===7~=~NDDDMNDDDOZ7OOO8OZ$II+=~=IZ=7:,..NN,.......OOON,:
+++===+++++++=======================~=M8DNNNN=====~DDMNNNZOOZ$OOO8ZZZ$7I7=~+~~7?7=..,,.......:ZOZN,:
=====+==============================~=~D~$,.DD==8~NNNN8888OOZ$OO8OZZ$$7I7O+:~~===~=$7,.......?OO8D:,
=================~=======~=====~~~~~==~=~=.,,IDNN=:NMDDO8O8OZODZOOOO$$7I8==+=7II7==~I:.......OZZO7,,
=============~~~~~~~~~~~~~~~~~~~~~~===:=~=+,..MO++ONNDN8ODNDO8D88OZZ$$7:~~~~~III+~=~~=.......ZOOM,,,
=======~~~~~~~~~~~~~~~~~~~~~~~~~~~==~=$~+8~+..,.O~?ZNNNDD888NDNOZZOZ$I=~~~:~~IIII====~.......ZZZD,,,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=====~=I~$N$~D..D++~?NDNNN8DDD88OZZ$7D:~~:~::~?IIO==~=I......DZON,.,,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=~~=~~~~+8=+=??+N+=~+8DDDDDDDD8Z8D$::~:::::~~NIII~=~?=,....,.OO.,..,
~~~~~~~~~~~~~~~~~~~~~~~~~=~~~~~~=~~====?=?~~=O$+?O=========+~I+=~~~~::::::::::III=~~:~=:.........,.D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~====~=?+O?O++?+==~======Z:.N==~~::::::::::~:7IIIZ+II=~~~=:,....ZDN
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=~NDNNN:+N=??~+$?N+===Z....+~~~~::::::::::~~:I?III?ID?~,==..~ZNDDD
~~~~~~~=~~~~~~~~~~~~~~~~~~~~~~~~=8MNNNNNND~7=??=NI=+=~D.,,.8~==~~~::::::::::~~:~=8?IIIIIIIIIIIDDDNDD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~MNNDNDNNNNNN,~???===:,,.~+++=Z==~~~~:::::::::~~7====ONDDNNDDDDDNDDDDD
~~~~~~~~~~~~~~~~~~~~~~~~~~~=~NDDNDNNNNNNNNNN:???==D,?+++++I~======~:::::::~:~~~==~~:NNDDDDDDDDNDNDDD
~~~~~~~~~~~~~~~~~~~~~~~~~~~NDNDNNNM+NNNNNNND?+??==NIZ7Z:=========~~::~::::~:7~~~~~:::NDDNDDNDDDDDDDD
~~~~~~~~~~~~~~~~~~~~~~~=~~NDNNM++=MMNNNDNNNNM=+?=================~~::::~~~:DD=~=~:::::N8DDNDDNDNNDDD
~~~~~~~~~~~~~~~~~~~~~~~,NDD$~~~~NNNNDNNDNNNNND~=+====~+8MNNZ+====~~~:~::ZNNO==8=::::::~NDD8DDDNDNNDN
$?+=~~~~~~~~~~~~~~~~~=MDO=~~~~,DDNDNNNNNNNDNDDNZ=====D=+++++=======~~~ONNNO===~~~::~~:~:$ND8DNDDNNDD
$$$$$$ZO::~~~~~~~~~~~N:~~~~~~~DDNNNNNNNNNNNNDNNND====+++==========~~NNNN8Z=~=+~~::::::::::M8DDDDNDDD
$$$$$$$Z$$Z7NI~~~~~~:~~~~~~~MNNNNNNNNDNNNNDNNDNDDDI==============~NMMNN8+~~===~~::::::::::~,88NDDDDD
$$Z$$$$$$$ZD$$$$7DZ:~~~~~~~NDNNDDNDNNNNNNNNDDDNNDDDD============?NNNNN8I=~~=~~~::::::::::::~ODNNDNDD
$$$$$$$$$$$Z$$$$Z$ZZ87M~==NDNDNNNNNNNNDNNNNNDNNDDDDDD=========NMNNNN77=~~=~=+::::::~:::::::~~DDNDDNN
$$$$$$$$$Z$$$ZZ$$$$8$ZOZ$ZNDNDNNNNNNNDNNNNNDDDDDDDDDN?~=====MMNNNN?8~~=~~~~?~:::::=~~:::::::~,DDNDDD
ZZZZZZZZZZZZ$ZZZZ$$ZO$ZZO888$MNNDNDNNNNNDNDDNDDDDDDDN=NMNNNNNNNN7Z====~~~=~8~:::::7=~:::::::::,NNDNN
ZZZZZZOZZZZZZOOZZ$Z8ZZ$$$$$OO88DN.....DNDDDDDDDDDDDD$=+NMNNNNN88=~=~~~~~~=I~:::::=O~~::::::::::ZDDD8
ZOZZZZZZOZZOOZOOOZOOZ$$Z$8ZZZ$O=~......M8DDNNNDDDNO:~Z+=Z?OZZ=~===~~~~~~=8~~:::::O?=::::::::::::MDDD
ZZZZZ8OZOOZZZZOOOOZOOZ$ZZ$Z$$N...,.=:,.~DDDDNNO~~~~:=$==+?8?====~~~~~~~~=:::::::~~$~~::::::::::~:DDD
ZZZZZOZZOZZZZZZZOZOZZZZZZZ$Z:.....ZI,+NZ=:~~~~~~~~:?=~8===D====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