Retrieve Project List

Use the following parameter to retrieve the list of projects from the command line:
Parameter Value Description Required
-getProjects     Yes
Example:
./fluenta_cli.sh -getProjects   
Output example:
{"projects": [
   {
      "languageStatus": {"es": "2"},
      "tgtLanguages": ["es"],
      "lastUpdate": "2025-01-18 09:03",
      "srcLanguage": "en-US",
      "memories": [1734259114482],
      "description": "Downloaded from https://github.com/oxygenxml/userguide",
      "id": 1734259114482,
      "history": [
         {
            "date": "2024-12-15 08:09",
            "build": 0,
            "language": "es",
            "type": "0"
         },
         {
            "date": "2024-12-21 10:29",
            "build": 0,
            "language": "es",
            "type": "1"
         }
      ],
      "title": "Oxygen User Guide",
      "creationDate": "2024-12-15 07:38",
      "map": "userguide-master/DITA/UserManual.ditamap",
      "status": "4"
   },
   {
      "languageStatus": {"es": "3"},
      "tgtLanguages": ["es"],
      "lastUpdate": "2025-01-14 10:16",
      "srcLanguage": "en-US",
      "memories": [1736860617048],
      "description": "",
      "id": 1736860617048,
      "history": [],
      "title": "Fluenta User Guide",
      "creationDate": "2025-01-14 10:16",
      "map": "Documents/GitHub/FluentaPRO/docs/en/fluenta.ditamap",
      "status": "0"
   }
]}
 
The possible values for the status field are:
  • 0: New project
  • 1: In progress
  • 2: Completed
  • 3: Untranslated
  • 4: Translated
The possible values for the type field in history array are:
  • 0: XLIFF Created
  • 1: XLIFF Imported
  • 2: XLIFF Canceled