public interface DifyBaseApiService
| 限定符和类型 | 方法和说明 |
|---|---|
retrofit2.Call<AppInfoResponse> |
getAppInfo()
获取应用的基本信息
|
retrofit2.Call<AppMetaInfoResponse> |
getAppMetaInfo() |
retrofit2.Call<AppParametersResponse> |
getAppParameters() |
retrofit2.Call<WebAppResponse> |
getWebAppInfo() |
retrofit2.Call<UploadFileResponse> |
uploadFile(okhttp3.MultipartBody.Part file,
okhttp3.MultipartBody.Part user) |
@GET(value="info") retrofit2.Call<AppInfoResponse> getAppInfo()
@GET(value="parameters") retrofit2.Call<AppParametersResponse> getAppParameters()
@GET(value="meta") retrofit2.Call<AppMetaInfoResponse> getAppMetaInfo()
@GET(value="site") retrofit2.Call<WebAppResponse> getWebAppInfo()
@Multipart @POST(value="files/upload") retrofit2.Call<UploadFileResponse> uploadFile(@Part okhttp3.MultipartBody.Part file, @Part okhttp3.MultipartBody.Part user)
Copyright © 2025. All rights reserved.