action gitea_repo_get_contents { label: "Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir" provider: gitea method: GET path: "/repos/{owner}/{repo}/contents/{filepath}" encoding: json input: { type: "object" properties: { filepath: { type: "string" } owner: { type: "string" } ref: { type: "string" } repo: { type: "string" } } required: ["filepath", "owner", "repo"] additionalProperties: false } output: { type: "object" additionalProperties: true } }