OriHoch / data4dappl

MIT License
2 stars 7 forks source link

Related groups API includes the original group in related list #118

Closed niryariv closed 4 years ago

niryariv commented 4 years ago

eg, https://www.odata.org.il/group/entities/api?name=land returns:

{
related_groups: [
{
count: 13,
display_name: "רשות מקרקעי ישראל",
name: "land"
},
{
count: 1,
display_name: "עיריית בית שמש",
name: "betshemesh"
},
// ...
],
group: {
display_name: "רשות מקרקעי ישראל",
description: "",
title: "רשות מקרקעי ישראל",
package_count: 13,
created: "2017-06-17T11:43:35.232000",
approval_status: "approved",
is_organization: false,
state: "active",
groups: [ ],
revision_id: "1cc860d1-2183-4c3a-8485-9ab485b781f1",
num_followers: 0,
type: "group",
id: "e6d56b96-b74a-4106-bbad-a491ca28a0e1",
tags: [ ],
name: "land"
}
}

(obv I can remove it on the API consuming code, but thought you might want to know)

OriHoch commented 4 years ago

thanks, fixed https://www.odata.org.il/group/entities/api?name=mof