v1 · OpenAPI 3.1Panel

API referansı İngilizcedir.

Applications

Get an application

GET/v1/applications/{app_id}

A secret key gets 404 not_found for every application but its own.

Gereken yetki
applications:read
Kimlik doğrulama
Secret key · Organization API key

Yol parametreleri

  • app_idstringzorunlu

    Örnek: app_seller

Yanıtlar

  • 200OKApplication

    The application

    • idstring

      Örnek: app_seller

    • namestring

    • regionstring

      More regions will be added; clients must accept unknown values.

      Değerler: EU TR

    • multi_regionboolean

      Not available yet; planned.

      Varsayılan: false

    • blockstring

      East block planned; operated by a separate company. Every application is west today.

      Değerler: west eastVarsayılan: west

    • sectorstringboş olabilir

    • user_countriesstring[]

    • country_restrictionobject

      2 alan
      • modestring

        Değerler: all only_listed

      • countriesstring[]

    • redirect_urlsstring[]

      The exact URLs Google sign-in may send users back to. Empty until you set them with PATCH /applications/{app_id}.

    • providersobject

      Social sign-in providers. Google is the only one today.

      1 alan
      • googleobject

        2 alan
        • enabledboolean

          On unless turned off with PATCH /applications/{app_id}.

          Varsayılan: true

        • modestring

          platform: Fox Login's own Google app. Using your own Google app is planned.

          Değerler: platform

    • publishable_keystring

      Örnek: pk_live_tr_8f2c91a7b3d04e5f

    • created_atstring (date-time)

  • 404Not FoundError

    Not found

    • errorobjectzorunlu

      5 alan
      • codestringzorunlu

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Örnek: region_unavailable

      • messagestringzorunlu

        Plain English, for developers

      • regionstringboş olabilir

        Region that produced the error, if any

        Değerler: EU TR

      • retryablebooleanzorunlu

      • detailsobject