Skip to content

Ximdex cms api: languages

Javi Carretero edited this page Sep 5, 2013 · 3 revisions

Ximdex CMS provides multiple languages that you can enable on the Control Panel. Also, you can query the Ximdex API too for this information:

Description Log in into Ximdex CMS
URL /api/lang
Parameters ximtoken (required): session token obtained with the login action.
langid (optional): if present, the info of this specific language will be returned.
Response Array of channels containing the following information about each one: IdChannel, the channel id, Name, the name of the channel and Description, the channel description.
Example
POST Request #1 curl -X POST --data "user=johndoe&pass=my_pass" http://example.org/ximdex/api/login
GET Request #1 curl -X GET "http://example.org/ximdex/api/login? user=johndoe&pass=my_pass"
Response #1 {"error":0,"data":{"ximtoken":"ajVhcGx0aFBHZnlERVNiZ0huUkZjRldDSmpIZ3QwRzlNRjlHaitGZ3NLci9HNldIejlpazNlSjA0Q2gzUXJwVjlvcEhXUlkwaU5GZHVybkZ0endGR2c9PQ=="}}

Topics

  • Home
  • How do I start?
  • Easy Recipes

Clone this wiki locally