Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom properties missing in GHRepository #1847

Open
nardew opened this issue May 27, 2024 · 2 comments
Open

Custom properties missing in GHRepository #1847

nardew opened this issue May 27, 2024 · 2 comments

Comments

@nardew
Copy link

nardew commented May 27, 2024

Describe the bug
GHRepository class (interface to repos/org/repo_name GitHub endpoint) is missing custom properties. They are mentioned in the GitHub documentation at the root level as

"custom_properties": {
      "type": "object",
      "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.",
      "additionalProperties": true
    }
@bitwiseman
Copy link
Member

PR welcome.

@gitPushPuppets
Copy link

I've got a working local poc for GET /repos/{owner}/{repo}/properties/values and have started exploring the POST for create or update. @bitwiseman, do you have advise on how I should architect this? The response body of the GET and request body of the POST are slightly different and custom properties also exist at the org level. I am considering modeling my Custom Properties solution off of GHHooks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants