Liking cljdoc? Tell your friends :D

oc.lib.storage

Get list of sections from the storage service.

Get list of sections from the storage service.
raw docstring

board-list-forclj

(board-list-for storage-server-url team-ids jwtoken)

Given a set of team-id's, and a user's JWToken, return the list of available boards for that user in the org that corresponds to the team-id.

Given a set of team-id's, and a user's JWToken, return the list of available boards for that user in the
org that corresponds to the team-id.
sourceraw docstring

default-on-errorclj

source

org-dataclj

(org-data config org-slug jwtoken)
(org-data config org-slug user-id :guard lib-schema/unique-id?)
source

orgs-forclj

(orgs-for config
          :guard
          (fn* [p1__43018#]
               (and (map? p1__43018#)
                    (contains? p1__43018# :storage-server-url)
                    (contains? p1__43018# :auth-server-url)
                    (contains? p1__43018# :passphrase)))
          user-data
          :guard
          map?
          team-id)
(orgs-for config :guard map? jwt :guard string? team-id)

Retrieve the orgs for a specified team from the Storage service.

Arity/3 but the 2nd argument can be either a map of the user data that will be used for a JWToken, or can be a JWToken.

Config:

  • storage-server-url
  • passphrase (not needed if JWT is passed)
  • auth-server-url (not needed if JWT is passed)
  • service-name (always optional)
Retrieve the orgs for a specified team from the Storage service.

Arity/3 but the 2nd argument can be either a map of the user data that will be used for
a JWToken, or can be a JWToken.

Config:
- storage-server-url
- passphrase (not needed if JWT is passed)
- auth-server-url (not needed if JWT is passed)
- service-name (always optional)
sourceraw docstring

post-data-forclj

(post-data-for config
               :guard
               (fn* [p1__42979#]
                    (and (map? p1__42979#)
                         (contains? p1__42979# :storage-server-url)
                         (contains? p1__42979# :auth-server-url)
                         (contains? p1__42979# :passphrase)))
               user-data
               :guard
               map?
               org-slug
               board-id
               post-id)
(post-data-for config
               :guard
               map?
               req-data
               :guard
               :error
               user-data
               org-slug
               board-id
               post-id)
(post-data-for config
               :guard
               map?
               jwtoken
               :guard
               string?
               user-data
               org-slug
               board-id
               post-id)

Retrieve the data for the specified post from the Storage service.

Arity/5 but the 2nd argument can be either a map of the user data that will be used for a JWToken, or can be a JWToken.

Config:

  • storage-server-url
  • passphrase (not needed if JWT is passed)
  • auth-server-url (not needed if JWT is passed)
  • service-name (always optional)
Retrieve the data for the specified post from the Storage service.

Arity/5 but the 2nd argument can be either a map of the user data that will be used for
a JWToken, or can be a JWToken.

Config:
- storage-server-url
- passphrase (not needed if JWT is passed)
- auth-server-url (not needed if JWT is passed)
- service-name (always optional)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close