[catalog/query][s]: changed get org query to return sufficient data about an org + follow frictionless spec.
This commit is contained in:
parent
89e7b942aa
commit
18dece1c04
@ -1,14 +1,17 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
export const GET_ORG_QUERY = gql`
|
||||
query dataset($id: String) {
|
||||
dataset(id: $id) @rest(type: "Response", path: "package_show?{args}") {
|
||||
query org($id: String) {
|
||||
org(id: $id) @rest(type: "Response", path: "organization_show?{args}") {
|
||||
result {
|
||||
organization {
|
||||
name
|
||||
title
|
||||
image_url
|
||||
}
|
||||
name
|
||||
title
|
||||
description
|
||||
image: image_url
|
||||
created
|
||||
total: package_count
|
||||
users
|
||||
followers: num_followers
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user