From 9d35cf39ca7e1b7a05ec4eaecef9f45a107671a2 Mon Sep 17 00:00:00 2001 From: Juraj Martinka Date: Tue, 2 Oct 2018 16:11:48 +0200 Subject: [PATCH 1/2] Add `orgs-memberships` function to list all organizational memberships for the current user. This is useful to not only get all user's organizations but also his role in each of those organizations. See https://developer.github.com/v3/orgs/members/#list-your-organization-memberships. --- src/tentacles/orgs.clj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tentacles/orgs.clj b/src/tentacles/orgs.clj index fcca7b6..d62d396 100644 --- a/src/tentacles/orgs.clj +++ b/src/tentacles/orgs.clj @@ -15,6 +15,12 @@ [options] (api-call :get "user/orgs" nil options)) +(defn orgs-memberships + "List all the organizational memberships including for the currently + authenticated user including `state` and `role` of the user." + [options] + (api-call :get "user/memberships/orgs" nil options)) + (defn specific-org "Get a specific organization." [org & [options]] From 4e54e44f2b4a2e4d7c479e9361a89b4298fcd678 Mon Sep 17 00:00:00 2001 From: Juraj Martinka Date: Fri, 6 Sep 2024 05:35:37 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ad801aa..ab86665 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [![Dependencies Status](https://jarkeeper.com/Raynes/tentacles/status.svg)](https://jarkeeper.com/Raynes/tentacles) +NOT USED ANYMORE. + # An octocat is nothing without her tentacles Tentacles is a Clojure library for working with the Github v3 API. It supports the entire Github API.