GET api/Village/{village}/Resources

Get a list of resources available for the specified village, optionally filtered by Condition IDs

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ConditionIds

List of Condition IDs to return resources for

Collection of globally unique identifier

None.

ShowCV

Whether or not to include Caring Village resources

boolean

None.

Cutoff

Date cutoff - fetch resources newer than cutoff

date

None.

Skip

Number of resources to skip (null for skip none)

integer

None.

Take

Max number of resources to return (null for "All")

integer

None.

village

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ResourceModel
NameDescriptionTypeAdditional information
ResourceId

Resource Unique ID (CV ID)

globally unique identifier

None.

Condition

Condition name

string

None.

ConditionId

Condition ID

globally unique identifier

None.

DateUTC

Article Date (UTC)

date

None.

Description

Article Description

string

None.

Feed

Feed Name

string

None.

ImageUrl

Image URL

string

None.

RSSId

Article's RSS ID

string

None.

Title

Article Title

string

None.

URL

Article URL

string

None.

VillageId

Village ID

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ResourceId": "4602a4ba-a1ab-488a-a630-6c75dfa2cd2e",
    "Condition": "sample string 2",
    "ConditionId": "6b668abe-71fe-4a2b-9aa0-f0f5ffd90e02",
    "DateUTC": "2025-06-03T05:14:02.017+00:00",
    "Description": "sample string 4",
    "Feed": "sample string 5",
    "ImageUrl": "sample string 6",
    "RSSId": "sample string 7",
    "Title": "sample string 8",
    "URL": "sample string 9",
    "VillageId": "4c6b1630-8649-4869-ae68-9ac45bc83035"
  },
  {
    "ResourceId": "4602a4ba-a1ab-488a-a630-6c75dfa2cd2e",
    "Condition": "sample string 2",
    "ConditionId": "6b668abe-71fe-4a2b-9aa0-f0f5ffd90e02",
    "DateUTC": "2025-06-03T05:14:02.017+00:00",
    "Description": "sample string 4",
    "Feed": "sample string 5",
    "ImageUrl": "sample string 6",
    "RSSId": "sample string 7",
    "Title": "sample string 8",
    "URL": "sample string 9",
    "VillageId": "4c6b1630-8649-4869-ae68-9ac45bc83035"
  }
]

application/xml, text/xml

Sample:
<ArrayOfResourceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <ResourceModel>
    <Condition>sample string 2</Condition>
    <ConditionId>6b668abe-71fe-4a2b-9aa0-f0f5ffd90e02</ConditionId>
    <DateUTC>2025-06-03T05:14:02.0175518+00:00</DateUTC>
    <Description>sample string 4</Description>
    <Feed>sample string 5</Feed>
    <ImageUrl>sample string 6</ImageUrl>
    <RSSId>sample string 7</RSSId>
    <ResourceId>4602a4ba-a1ab-488a-a630-6c75dfa2cd2e</ResourceId>
    <Title>sample string 8</Title>
    <URL>sample string 9</URL>
    <VillageId>4c6b1630-8649-4869-ae68-9ac45bc83035</VillageId>
  </ResourceModel>
  <ResourceModel>
    <Condition>sample string 2</Condition>
    <ConditionId>6b668abe-71fe-4a2b-9aa0-f0f5ffd90e02</ConditionId>
    <DateUTC>2025-06-03T05:14:02.0175518+00:00</DateUTC>
    <Description>sample string 4</Description>
    <Feed>sample string 5</Feed>
    <ImageUrl>sample string 6</ImageUrl>
    <RSSId>sample string 7</RSSId>
    <ResourceId>4602a4ba-a1ab-488a-a630-6c75dfa2cd2e</ResourceId>
    <Title>sample string 8</Title>
    <URL>sample string 9</URL>
    <VillageId>4c6b1630-8649-4869-ae68-9ac45bc83035</VillageId>
  </ResourceModel>
</ArrayOfResourceModel>