Get site branding and login providers

Read the site name, title, Logo, and login providers exposed by the current deployment.

GET https://api.moi.matrixorigin.cn/v5/webapp/config

Before you call this API

Set BASE_URL to the product API prefix https://api.moi.matrixorigin.cn/v5. For private deployments, use the corresponding product API URL.

Use BASE_URL for the current deployment’s product API. This public configuration entry point requires no Workspace or product token.

Request

curl --request GET \
  "$BASE_URL/webapp/config"

This entry point has no Workspace path parameter or request body.

This is a public deployment configuration read, without a Workspace requirement, not an individual agent’s Web app publication record. Current implementation uses auth_provider=uc; do not infer specific production configuration from this.

Successful response

{
  "code": "OK",
  "msg": "OK",
  "data": {
    "name": "示例站点",
    "title": "示例站点",
    "logo": {
      "favicon": "/favicon.ico",
      "primary": "/logo.svg",
      "mini": "/mini.svg"
    },
    "auth_provider": "uc"
  }
}

Field

Type

Description

code

string

Success code.

data

object

Corresponding object.

msg

string

OK on success.

Error responses

Errors and read-back distinguishes parameters, permissions, and write results for this entry point.

Last updated on