Zum Hauptinhalt springen

List update candidates belonging to an app version

GET/apps/{appId}/versions/{baseAppVersionId}/update-candidates/
v2
GET
app-list-update-candidates-for-appversion

Request

  • appIdstring (uuid)
    required
  • baseAppVersionIdstring (uuid)
    required

Responses

Response-Header

  • X-Pagination-Limitnumber
  • X-Pagination-Skipnumber
  • X-Pagination-TotalCountnumber
application/json

Object containing the list of AppVersions.

  • Array[

    An AppVersion is an officially supported version of an App, containing the necessary and recommended configuration und dependencies.

  • *object

    An AppVersion is an officially supported version of an App, containing the necessary and recommended configuration und dependencies.

    • appIdstring (uuid)
      required
    • breakingNoteobject

      A BreakingNote is a hint that something serious has changed in the AppVersion containing it, so an automatic update is not possible.

      • faqLinkstring (uri)
        required
    • databasesarray of object
      • Array[

        A DatabaseDependency is a generic description of need for a database, used by AppVersions.

      • *object

        A DatabaseDependency is a generic description of need for a database, used by AppVersions.

        • descriptionstring
          required
        • kind"mysql"
          required
        • parametersobject
          • *string
        • versionstring (uuid)
          required
      • ]
    • docRootstring
      required
    • docRootUserEditableboolean
      required
    • externalVersionstring
      required
    • idstring (uuid)
      required
    • internalVersionstring
      required
    • recommendedboolean
    • requestHandlerobject

      RequestHandlerRequirement describes the necessary properties to internally resolve the request handler or process to start.

      • exampleValuesarray of object
        • Array[

          A SavedUserInput is an entered value for a desired UserInput of an AppVersion or SystemSoftwareVersion.

        • *object

          A SavedUserInput is an entered value for a desired UserInput of an AppVersion or SystemSoftwareVersion.

          • namestring
            required
          • valuestring
            required
        • ]
      • namestring
        required
      • namespacestring
        required
      • parametersTemplatestring
        required
    • systemSoftwareDependenciesarray of object
      • Array[

        A SystemSoftwareDependency is a description of a need for a specific SystemSoftware in a semver versionRange.

      • *object

        A SystemSoftwareDependency is a description of a need for a specific SystemSoftware in a semver versionRange.

        • systemSoftwareIdstring (uuid)
          required
        • versionRangestring
          required
      • ]
    • userInputsarray of object
      • Array[

        A UserInput is a description of an information which cannot be determined or estimated by mittwald, but has to be given by the person who is requesting an AppInstallation or SystemSoftware.

      • *object

        A UserInput is a description of an information which cannot be determined or estimated by mittwald, but has to be given by the person who is requesting an AppInstallation or SystemSoftware.

        • dataSourcestring

          Optional field to tell the frontend, which data to put into the select.

        • dataTypestring (one of: text, number, boolean, select)
          required

          UserInputDataType is an enum, describing the possible data types of a UserInput.

        • defaultValuestring
        • formatstring (one of: email, password, url, uri)

          UserInputFormat is an enum, describing the possible data formats of a UserInput, the given values can be validated against.

        • lifecycleConstraintstring (one of: installation, update, reconfigure)
          required

          The AppInstallationLifecycle can be used to express a specific point in the AppInstallation Lifecycle, e.g. while installing a new AppInstallation.

        • namestring
          required
        • positionMetaobject

          UserInputPositionMeta is a utility information, helping to position the UserInput properly on the frontend.

          • indexnumber
          • sectionstring
          • stepstring
        • requiredboolean
          required
        • validationSchemastring
          required

          JSON Schema formatted (https://json-schema.org/).

      • ]
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/apps/f0f86186-0a5a-45b2-aa33-502777496347/versions/f0f86186-0a5a-45b2-aa33-502777496347/update-candidates