Rest API
  • Odoo REST API: Version 1.0 documentation
  • Connection
    • Configuration
    • Demo
    • Logging In
      • How you can do
        • Odoo Version Information
        • Oauth1 Authentication
        • OAuth2 Authentication
        • Basic Authentication
  • Calling Methods
    • Check Access Rights
    • List Records
      • Pagination
    • Count Records
    • Read Records
      • Read Single Record
      • Read List Records
      • Read Filter Records
    • Listing Record Fields
    • Create Records
    • Update Records
      • Update Single Record
      • Update List Records
    • Delete Records
      • Delete Single Record
      • Delete List Records
  • Report Printing
    • Print Single Report
    • Print List Reports
  • Inspection and Introspection
    • ir.model
    • ir.model.fields
Powered by GitBook
On this page
  1. Connection
  2. Logging In
  3. How you can do

Odoo Version Information

PreviousHow you can doNextOauth1 Authentication

Last updated 2 years ago

The restapi/1.0/common/version endpoint provides Odoo server version information that doesn’t require authentication.

GET /restapi/1.0/common/version

Request:

GET /restapi/1.0/common/version HTTP/1.1
Host: <your Odoo server url>

Response:

HTTP/1.1 200 OK

{
  'server_version': '14.0',
  'server_version_info': [14, 0, 0, "final", 0],
  'server_series': '14.0',
  'protocal_version': 1
}
Headers and Status Codes
Description

Request Headers

  • – the response content type depends on Accept header

Response Headers:

  • – this depends on Accept header of the request

Status Codes:

  • – no error

  • – there’s no user

Accept
Content-Type
200 OK
404 Not Found