imcljs.fetch

bluegenes-properties

(bluegenes-properties service & [options])
Returns the BlueGenes-specific configs for a given mine. These are created
and maintained by BlueGenes, similarly to a key-value store.

branding

(branding service)
Returns the branding details for a given mine.
Used to make things more personal!

chart-widget

(chart-widget service list+ids widget-name & [options])
Returns data to produce a graph for a list.
Can be passed either a list name or a vector of object IDs.
Note that `:type` has to be specified in `options` if passing object IDs.

class-keys

(class-keys service & [options])

code

(code service model & [{:keys [lang query], :as options}])
Returns generated code to run the query in a given language

enrichment

(enrichment service & [options])
Returns enrichment results

entity-representation

(entity-representation service lui format & [options])
Responds with the representation of an entity in the specified format.
LUI needs to be a string similar to `gene:FBgn0030596`.

fasta

(fasta service query & [options])

fetch-custom-format

(fetch-custom-format service query & [options])

fetch-id-resolution-job

(fetch-id-resolution-job service {:keys [identifiers type case-sensitive wild-cards extra name], :as options})
Starts an id resolution job

fetch-id-resolution-job-results

(fetch-id-resolution-job-results service uid & [options])
Fetches the results of an id resolution job

fetch-id-resolution-job-status

(fetch-id-resolution-job-status service uid & [options])
Fetches the status of an id resolution job

lists

(lists service & [options])

lists-containing

(lists-containing service & [options])
Find lists on the server containing an object.
As a minimum, specify either :id or both of :publicId and :type.

model

(model service & [options])

one-list

(one-list service name & [options])

permanent-url

(permanent-url service id & [options])
Returns a permanent URL to access a data object even when its ID has changed.

possible-values

(possible-values service path & [options])

precompute

(precompute service & [options])
Returns the precomputed status of a named template, or all templates owned
by the superuser. Use parameter `name` for a single template.

preferences

(preferences service & [options])
Returns a map of preferences set for the authenticated user.

quicksearch

(quicksearch service search-term & [options])
Returns quicksearch results.

records

(records service query & [options])

registry

(registry dev-mines?)
Returns list of InterMines from the InterMine registry. dev-mines? needs to
be set to true if you want to return non-prod mines, or otherwise set to false

resolve-identifiers

(resolve-identifiers service {:keys [timeout-ms], :as options})
Resolves identifiers. Automatically handles polling.
Will use listresolver endpoint if name instead of identifiers is specified.

row-count

(row-count service query & [options])

rows

(rows service query & [options])

saved-queries

(saved-queries service & [options])
Fetches queries saved under the user. Use the `:filter` option to only
return queries with the specified title, with optional `*` wildcards.

semantic-markup

(semantic-markup service page & [options])
Returns the JSON semantic markup for a page. See web service documentation
for supported pages and their required parameters.

session

(session service & [options])
Returns a temporary API token.

summarise

(summarise service & [options])
Returns the summarise status of a named template, or all templates owned
by the superuser. Use parameter `name` for a single template.

summary-fields

(summary-fields service & [options])

table-rows

(table-rows service query & [options])

table-widget

(table-widget service list+ids widget-name & [options])
Returns data for displaying by a table widget.
Can be passed either a list name or a vector of object IDs.
Note that `:type` has to be specified in `options` if passing object IDs.

template-tags

(template-tags service & [options])
Get the tags for a named template, or all the tags associated with the
authenticating user. Use parameter `name` for a single template.

templates

(templates service & [options])

unique-values

(unique-values service query path & [limit])
Fetches unique values for a path within a query. Providing a limit shortcircuits the request
and returns false if the unique values exceed the limit. This is primarily for the column
summary in im-tables-3, where we don't want to summarize columns with more than limit=1000
values, so we avoid sending the massive request here instead.

version-intermine

(version-intermine service)
Returns the version of InterMine being run, e.g. '1.6.6'

version-release

(version-release service)

version-web-service

(version-web-service service)
Returns the version of the InterMine WebService being run, e.g. '27'

web-properties

(web-properties service)
Returns the default configs for a given mine. These are important as they're
used to initialise most bluegenes page sections! 

widgets

(widgets service & [options])
Returns list of widgets available for a given mine