def get_conversation_details(group_id, id):
    return get_object(f'/groups/{group_id}/conversations/{id}')
def get_task_details(task_id):
    try:
        return get_object(f'/planner/tasks/{task_id}/details')
    except Exception as e:
        return "Access denied..."
def get_plan_details(group_id, plan_id):
    return get_object(f'/groups/{group_id}/planner/plans/{plan_id}/details')
def get_thread_details(group_id, conversation_id, thread_id):
    return get_object(
        f'/groups/{group_id}/conversations/{conversation_id}/threads/{thread_id}'
    )
def get_post_details(group_id, thread, id):
    return get_object(f'/groups/{group_id}/threads/{thread}/posts/{id}')
示例#6
0
def get_task_details(task_id):
    return get_object(f'/planner/tasks/{task_id}/details')
示例#7
0
def get_plan_details(plan_id):
    return get_object(f'/planner/plans/{plan_id}/details')
def get_buckets(plan_id):
    return get_object(f'/planner/buckets/{plan_id}/')