飞书项目 icon

飞书项目

飞书项目管理 API 集成,支持工作项、空间、用户、工作流等完整功能

Actions75

空间关联 → 获取空间关联规则列表

AI-generated

Overview

This node operation fetches the list of space relation rules for a specified space (project) in Feishu Project. It allows users to specify the main space and optionally a list of related spaces to retrieve the association rules between them. This is useful for managing and understanding how different project spaces are linked or related within Feishu Project, enabling better project organization and workflow automation.

Use Case Examples

  1. Retrieve all association rules for a given project space to analyze dependencies.
  2. Fetch relation rules between a main space and a set of related spaces to automate project management tasks.

Properties

Name Meaning
空间 The main space (project) to query, identified by its project_key. Can be selected from a list or entered manually.
关联空间列表 A list of project_keys representing related spaces to specify which spaces to include in the relation rules query.
Options Additional options for the request such as batching and timeout settings.

Output

JSON

  • error - Error message if the request fails or an error occurs.
  • details - Detailed error information if available.
  • data - The JSON array of space relation rules returned from the API.

Dependencies

  • Feishu Project API with appropriate API key credentials

Troubleshooting

  • Ensure the project_key is valid and accessible with the provided API credentials.
  • If batching is enabled, verify batch size and interval settings to avoid rate limiting or timeouts.
  • Common errors include invalid project_key, network issues, or API permission errors. Check error messages for details and adjust parameters accordingly.

Discussion