recipe_publish
스킬 및 레시피 · macOS
효과: 보내기. 상태: 조건부 제공.
‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.
macOS
목적
저장된 내 레시피/스킬 중 하나를 Dario의 검토를 위해 커뮤니티 검수 대기열에 제출합니다. 이것은 게시하지 않습니다. confirm=true 없이 호출하면 전송될 제목, 카테고리, 앱, 워크플로 설명을 미리 보여 줍니다(이 Mac에서는 아무것도 나가지 않습니다). confirm=true로 호출하면 제출하고 {status:"submitted", pending:true}를 반환합니다. 승인되면 /community/skills에 나타나며 누구나 recipe_install로 설치할 수 있습니다. `workflow`는 공개 설명입니다. 레시피 자체의 `description` 필드가 15자 이상이면 기본값으로 사용하고, 그렇지 않으면 명시적으로 전달하세요.
필수 입력
name
입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.
권한 및 확인
스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.
- 이 플랫폼에서는 사용자가 승인한 앱, 계정 및 리소스만 사용하세요. 연결 및 권한 요구 사항은 이 도구의 플랫폼별 설명을 참조하세요. 이 카탈로그는 추가 OAuth 범위나 OS 권한이 있다고 주장하지 않습니다.
영문 정식 기술 스키마 — macOS
{
"properties": {
"apps": {
"description": "Free-text apps the recipe touches (e.g. \"Mail, Calendar\"), shown in the moderation queue.",
"type": "string"
},
"category": {
"description": "Free-text category shown in the moderation queue and, once approved, on /community/skills.",
"type": "string"
},
"confirm": {
"description": "Must be true to actually submit. Without it, returns a preview — nothing is sent.",
"type": "boolean"
},
"name": {
"description": "Name of the saved recipe/skill to publish (see recipe_list).",
"type": "string"
},
"title": {
"description": "Shown once approved on /community/skills. Defaults to the recipe's own name.",
"type": "string"
},
"workflow": {
"description": "The public write-up of what the recipe does. Defaults to the recipe's own `description` if it's at least 15 characters; required otherwise.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}문서 예시
recipe_publish 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.
{
"confirm": false,
"name": "Demo morning brief"
}