Skip to content

Commit 1b1dd93

Browse files
committed
Replace redundant frontmatter with basic Markdown heading
1 parent 5507c0e commit 1b1dd93

19 files changed

+67
-130
lines changed

docs/api-specifications/accounts-api.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
---
2-
id: accounts-api
3-
title: Accounts API
4-
---
1+
# Accounts API
52

63
## Purpose
7-
To identify all information to be captured with regards to the Accounts domain.
8-
As part of our solution we are proposing to develop an Account entity and API that will serve accounts related data for our housing streams and any other projects that may require information relating to an account. This means that we can offer a deeper, more citizen-centric self-service capability, enabling even more service transactions to be carried out online.
9-
For the purposes of establishing context, the definition of an account as it relates to this entity is a record of a financial basis that links a user to a service.
4+
To identify all information to be captured with regards to the Accounts domain.
5+
As part of our solution we are proposing to develop an Account entity and API that will serve accounts related data for our housing streams and any other projects that may require information relating to an account. This means that we can offer a deeper, more citizen-centric self-service capability, enabling even more service transactions to be carried out online.
6+
For the purposes of establishing context, the definition of an account as it relates to this entity is a record of a financial basis that links a user to a service.
107

118
## Functions
129
- Accounts - Account information relating to a person or organisation. This could be for a person’s rent account, benefit account or any other account a person (or organisation) may hold with the council.
@@ -63,7 +60,7 @@ Accounts workshop - https://ideaflip.com/b/75dgi3rx6h2t/
6360
"type": "service charges",
6461
"frequency":"weekly",
6562
"amount":100.20”
66-
}
63+
}
6764
],
6865
"tenure": {
6966
"tenancyId": 31254,
@@ -116,7 +113,7 @@ Accounts workshop - https://ideaflip.com/b/75dgi3rx6h2t/
116113
“primaryTenants”:[
117114
“fullName”:””,
118115
“fullName”:””
119-
],
116+
],
120117
“fullAddress”,”1 Hillman Street, Hackney, E8 1DY”
121118
},
122119
}
@@ -202,7 +199,7 @@ Accounts workshop - https://ideaflip.com/b/75dgi3rx6h2t/
202199
5. PATCH **/accounts/{id}**
203200
204201
**Function:** Updates a person’s account details
205-
202+
206203
**Request Payload:**
207204
```
208205
{
@@ -240,7 +237,7 @@ Accounts workshop - https://ideaflip.com/b/75dgi3rx6h2t/
240237
## Properties/Column Mappings
241238
The following db columns have been identified as common and useful in the context of an account.
242239
243-
| Name | Type | Table Field Name | Description |
240+
| Name | Type | Table Field Name | Description |
244241
|------|------|------------------|-------------|
245242
| Id | UUID | id | A unique id in the database |
246243
| TargetId | String | target_id | A reference to the person holding this account|
@@ -281,7 +278,7 @@ The following db columns have been identified as common and useful in the contex
281278
282279
283280
## Other considerations
284-
- How do we reflect positive and negative activities on an account?
281+
- How do we reflect positive and negative activities on an account?
285282
- Do we need to supply an account balance at a specific date? - Let’s not do this.
286283
- Do we want to have a further breakdown within this API of what makes up an account balance?
287284
@@ -294,4 +291,4 @@ The following db columns have been identified as common and useful in the contex
294291
![Accounts API component architecture](./doc-images/accounts_api_component_architecture.png)
295292
296293
## Event Driven Architecture
297-
![Accounts API event driven architecture](./doc-images/accounts_event_driven_arch.png)
294+
![Accounts API event driven architecture](./doc-images/accounts_event_driven_arch.png)

docs/api-specifications/activities_api.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
---
2-
id: activities_api
3-
title: Activity History API
4-
---
1+
# Activity History API
52

63
## Purpose:
74
To identify all information to be captured with regards to the Activities(Record logging) domain.

docs/api-specifications/asessment_process.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
---
2-
id: assessment_process
3-
title: Assessment Process
4-
5-
---
1+
# Assessment Process
62
## Purpose
73
The purpose of this process is to provide a clear,open and consistent method of providing new and amended API specifications, evaluating them and getting them published in a way that is easy for a wider audience to access.
84

docs/api-specifications/asset_info.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
---
2-
id: asset_info
3-
title: Asset Information API
4-
---
1+
# Asset Information API
52

63
## Purpose
74
To identify all information to be captured with regards to the Core-Asset domain.
@@ -31,7 +28,7 @@ We have agreed on a flexible approach to following HACT standards for Asset info
3128
- I can find if any facilities are linked to the property.
3229
- I can direct the required repairs information to the team.
3330

34-
** As a Repairs service user I would like to see what type of property it is so that: **
31+
** As a Repairs service user I would like to see what type of property it is so that: **
3532
- I can decide what action they can take. For example: if it is a house and the roof is leaking then it will be a house repair similarly if it is a block then it will be a block repair.
3633
- I can find out if the property comes under new build and direct the required team to take action.
3734

@@ -53,7 +50,7 @@ We have agreed on a flexible approach to following HACT standards for Asset info
5350
- I can find out the rent group of the property (HRA information).
5451

5552

56-
** As a Repairs/Tenancy and Leaseholder service user I need to know the LLPG reference so that: **
53+
** As a Repairs/Tenancy and Leaseholder service user I need to know the LLPG reference so that: **
5754
- I can identify the location of the property.
5855
- I can see the status of the property (whether the property belongs to a block/estate etc)
5956

@@ -95,7 +92,7 @@ endpoints are relevant
9592
** As an application support analyst**
9693
I need to understand the queries being used by the API so that I can deal with support requests accordingly and resolve the potential issues in the underlying data.
9794

98-
** As a data analyst I need to connect to the API via Qlik so that: **
95+
** As a data analyst I need to connect to the API via Qlik so that: **
9996
data is easy to interpret and available for further reporting purposes.
10097

10198
** As a data analyst I need to know the LLPG reference so that: **
@@ -390,7 +387,7 @@ Not found
390387

391388
{
392389
"DevErrorMessages ": ["validation errors"],
393-
"UserErrorMessage": "Your item could not be updated for the following
390+
"UserErrorMessage": "Your item could not be updated for the following
394391
reasons..."
395392
}
396393
500
@@ -466,7 +463,7 @@ Not found
466463
"rootAsset": "6f22e9ae-3e8a-4e0e-af46-db02eb87f8e6",
467464
}
468465
```
469-
466+
470467
**Response:**
471468

472469
Code 200 OK returning the [full payload](#example-full-payload).

docs/api-specifications/configuration.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
---
2-
id: configuration
3-
title: Configuration
4-
5-
---
1+
# Configuration
62

73
## Purpose
84

@@ -32,7 +28,7 @@ There are a few options regarding what the boundary is for defining and retrievi
3228

3329
## Our users and their needs:
3430

35-
** As a consumer I need to have an API specification (e.g. Swagger doc, README), so that: **
31+
** As a consumer I need to have an API specification (e.g. Swagger doc, README), so that: **
3632
- I can have a clear understanding of the endpoints which are available
3733
- I know what the requests and responses should look like
3834
- Endpoints:

docs/api-specifications/contact_details.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
---
2-
id: contact_details
3-
title: Contact Details API
4-
---
1+
# Contact Details API
52

63
## Purpose
74

8-
The purpose of this document is to propose the implementation of a Contact Details microservice to interact with contact details data we hold for a person/organization. In the initial implementation, the microservice will focus on the Housing domain, but it should be built in a reusable way so it can be extended to other service areas in the future.
5+
The purpose of this document is to propose the implementation of a Contact Details microservice to interact with contact details data we hold for a person/organization. In the initial implementation, the microservice will focus on the Housing domain, but it should be built in a reusable way so it can be extended to other service areas in the future.
96

107
- Contact details can be related to a person/organization and include one or multiple (both historical and current)
118
- email address

docs/api-specifications/contact_us.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
---
2-
id: contact_us
3-
title: Contact Our Development Team
4-
5-
---
1+
# Contact Our Development Team
62

73
## For any enquiries please speak to:
84

docs/api-specifications/contracts_api.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
---
2-
id: contracts_api
3-
title: Contracts API
4-
---
1+
# Contracts API
52
## Purpose
63

7-
The temporary housing platform requires an agreement in place which provides a model representing the details to enbable the use of the property by Hackney contractually.
4+
The temporary housing platform requires an agreement in place which provides a model representing the details to enbable the use of the property by Hackney contractually.
85

96
As part of our solution, we are proposing to develop the Contracts API. This API will be designed to keep the asset and people models clean and provide a link between these objects as well as holding all the contractual information between the parties.
107

@@ -26,7 +23,7 @@ This API was discussed at TDA 25/05/22 off the back of the need to move data off
2623

2724
**Endpoint Status**: PROPOSED
2825

29-
**Purpose:**
26+
**Purpose:**
3027
Gets one or more Contracts from the Contract table. Requests can be made by specifying a ref path parameter or searching for Tenures based on a series of parameters.
3128

3229
**Endpoint URL's:**
@@ -222,7 +219,7 @@ Gets one or more Contracts from the Contract table. Requests can be made by spe
222219
}
223220
```
224221
- /contracts/{contractId}
225-
222+
226223
Get individual contract
227224

228225
**Response:**
@@ -433,4 +430,4 @@ Updates a new Contract
433430
Removes a new Contract
434431

435432
**Endpoint URL's:**
436-
- /contracts/{contractId}
433+
- /contracts/{contractId}

docs/api-specifications/equality-information-api.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
---
2-
id: equality-information-api
3-
title: Equality Information API
4-
---
1+
# Equality Information API
52

63
## Purpose
74
To identify all information to be captured with regards to the equality information domain related to a person.

docs/api-specifications/housing_search.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
---
2-
id: housing_search
3-
title: Housing Search API
4-
---
1+
# Housing Search API
52
## Purpose
63

74
To define how a new proposed search service will work. The microservice will be reusable across different housing services and will provide searching functionality for both people and properties. The service will make use of ElasticSearch as a search engine (for performance benefits and to support free-text and fuzzy search) and will aggregate assets and people data for ease of search purposes.
@@ -25,24 +22,24 @@ ElasticSearch will be updated by a Lambda function, holding business logic, that
2522
- I want the ability to filter the details of the results returned in an asset search
2623
- So that I can easily look through the different results and find accommodation matching my requirements
2724

28-
### Searching
25+
### Searching
2926

3027
Searching is achieved by providing `searchText` as a string parameter.
3128

3229
**Search by :**
3330
1. Person - First name, Middle name, Last name
3431
2. Asset - Address line 1, Postcode, Asset type
35-
3. Tenure - Payment Reference, FullAddress of TenuredAsset , Household Members FullName
32+
3. Tenure - Payment Reference, FullAddress of TenuredAsset , Household Members FullName
3633
4. Transactions - Sender name, Transaction Type, Payment Reference, Bank Account Number, Transaction Date, Transaction Amount
3734
5. Staff - first Name, last name, email
3835

3936
### Filtering
4037

4138
Filter parameters will be added to
42-
`/search/assets/all` and searchText will be optional giving the ability to filter of specific fields without the need to search by text.
39+
`/search/assets/all` and searchText will be optional giving the ability to filter of specific fields without the need to search by text.
4340
We propose to enforce a rule of at least one parameter to mitigate against the API being abused and returning every asset.
4441

45-
**Filter by :**
42+
**Filter by :**
4643
1. Asset - assetStatus, numberOfBedrooms, numberOfBedSpaces, numberOfCots, groundFloor, privateBathroom, privateKitchen, stepFree, isTemporaryAccomodation, parentAssetId
4744

4845
### Considerations
@@ -58,7 +55,7 @@ We propose to enforce a rule of at least one parameter to mitigate against the A
5855

5956
https://app.swaggerhub.com/apis/Hackney/housingSearchApi/1.0.0
6057

61-
## Architecture diagram
58+
## Architecture diagram
6259

6360
https://drive.google.com/file/d/1UYnYkGrOn83KXZgoCcVwb8tVg5MNehRz/view
6461

@@ -116,4 +113,4 @@ Allows to search on fields which do not exist only on platform APIs. It allows t
116113

117114
We discussed the need for filter parameters without searchText so that we can refine lists based purely on the filter params.
118115
It was decided to use the `/search/assets/all` to produce this outcome.
119-
Reference doc can be found [here](https://docs.google.com/document/d/1ZMa2dKqV5XfgFiyA0RL9hCqy1QLoo53VnOJPpGxQA_s/edit#heading=h.dx6cih64yr6k)
116+
Reference doc can be found [here](https://docs.google.com/document/d/1ZMa2dKqV5XfgFiyA0RL9hCqy1QLoo53VnOJPpGxQA_s/edit#heading=h.dx6cih64yr6k)

0 commit comments

Comments
 (0)