project

Returns the paths and configuration of the nearest project .fmu directory

If a project is not already attached to the session id it will be attached after a call to this route. If one is already attached this route will return data for the project .fmu directory again.

get/api/v1/project/

Request

  • The document declares no server URL.
  • Auth: none declared

Cookies

fmu_settings_sessionstring nullable

Response

Successful Response

pathstring path required

Absolute path to the directory which maybe contains a .fmu directory.

project_dir_namestring required

The directory name, not the path, that contains the .fmu directory.

Example response

{
  "path": "/path/to/project.2038.02.02",
  "project_dir_name": "project.2038.02.02",
  "config": {
    "masterdata": {
      "smda": {
        "coordinate_system": {
          "identifier": "ST_WGS84_UTM37N_P32637",
          "uuid": "15ce3b84-766f-4c93-9050-b154861f9100"
        },
        "country": [
          {
            "identifier": "Norway",
            "uuid": "15ce3b84-766f-4c93-9050-b154861f9100"
          }
        ],
        "discovery": [
          {
            "short_identifier": "SomeDiscovery",
            "uuid": "15ce3b84-766f-4c93-9050-b154861f9100"
          }
        ],
        "field": [
          {
            "identifier": "OseFax",
            "uuid": "15ce3b84-766f-4c93-9050-b154861f9100"
          }
        ],
        "stratigraphic_column": {
          "identifier": "DROGON_2020",
          "uuid": "15ce3b84-766f-4c93-9050-b154861f9100"
        }
      }
    },
    "associated_fields": [
      {
        "identifier": "OseFax",
        "uuid": "15ce3b84-766f-4c93-9050-b154861f9100"
      }
    ],
    "model": {
      "name": "Drogon",
      "revision": "21.0.0.dev"
    },
    "access": {
      "asset": {
        "name": "Drogon"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.