콘텐츠로 이동

목록



GET /api/v1/outer_function/list

개요

OpenAPI에서 실행할 수 있는 Func 함수 목록을 조회합니다.

Query 요청 매개변수

매개변수명 유형 필수 설명
_fuzzySearch string 퍼지 검색 쿼리 필드
예시: 슈퍼 VIP 템플릿
빈 값 허용: False
funcId string 함수 ID로 검색
예시: 슈퍼 VIP 템플릿
빈 값 허용: False
funcTitle string 함수 제목으로 검색 (Like 방식)
예시: 슈퍼 VIP 템플릿
빈 값 허용: False
funcTags commaarray 함수 태그, 태그를 기준으로 함수 필터링
예시:
빈 값 허용: False
funcScriptId string 스크립트 컬렉션 ID
예시:

매개변수 추가 설명

요청 예시

curl 'https://openapi.guance.com/api/v1/outer_function/list' \
  -H 'Content-Type: application/json' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  --compressed

응답

{
    "code": 200,
    "content": [
        {
            "argsJSON": [
                "workspace_uuid",
                "workspace_token",
                "your_name"
            ],
            "category": "openapi",
            "definition": "test(workspace_uuid, workspace_token, your_name='OpenAPI User')",
            "description": "The test interface is mainly to facilitate users in testing whether DataFlux Func can be successfully connected through OpenAPI",
            "extraConfigJSON": null,
            "id": "example__openapi.test",
            "integration": null,
            "kwargsJSON": {
                "workspace_token": {},
                "workspace_uuid": {},
                "your_name": {
                    "default": "OpenAPI user"
                }
            },
            "name": "test",
            "scriptDescription": null,
            "scriptId": "example__openapi",
            "scriptSetDescription": null,
            "scriptSetId": "Guance Cloud",
            "scriptSetTitle": "Guance ",
            "scriptTitle": null,
            "tagsJSON": null,
            "title": "test",
            "url": "/api/v1/func/example__openapi.test"
        },
        {
            "argsJSON": [
                "workspace_uuid",
                "workspace_token",
                "data"
            ],
            "category": "openapi",
            "definition": "report_event(workspace_uuid, workspace_token, data)",
            "description": "desc",
            "extraConfigJSON": null,
            "id": "example__openapi.report_event",
            "integration": null,
            "kwargsJSON": {
                "data": {},
                "workspace_token": {},
                "workspace_uuid": {}
            },
            "name": "report_event",
            "scriptDescription": null,
            "scriptId": "example__openapi",
            "scriptSetDescription": null,
            "scriptSetId": "guance",
            "scriptSetTitle": "Guance Cloud support",
            "scriptTitle": null,
            "tagsJSON": null,
            "title": "Report Event",
            "url": "/api/v1/func/example__openapi.report_event"
        }
    ],
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-1B02BD5D-D249-4D56-8762-9D6CB31FF0D1"
} 

문서 평가

이 페이지가 도움이 되었나요?