7.2 Group management APIs
29.5493GPPApplication Programming Interface (API) specificationRelease 18Service Enabler Architecture Layer for Verticals (SEAL)Stage 3TS
7.2.1 SS_GroupManagement API
7.2.1.1 API URI
The SS_GroupManagement service shall use the SS_GroupManagement API.
The request URIs used in HTTP requests from the VAL server towards the Group management server shall have the Resource URI structure as defined in clause 6.5 with the following clarifications:
– The <apiName> shall be "ss-gm".
– The <apiVersion> shall be "v1".
– The <apiSpecificSuffixes> shall be set as described in clause 7.2.1.2
7.2.1.2 Resources
7.2.1.2.1 Overview
This clause describes the structure for the Resource URIs and the resources and methods used for the service.
Figure 7.2.1.2.1-1 depicts the resource URIs structure for the SS_GroupManagement API.
Figure 7.2.1.2.1-1: Resource URI structure of the SS_GroupManagement API
Table 7.2.1.2.1-1 provides an overview of the resources and applicable HTTP methods.
Table 7.2.1.2.1-1: Resources and methods overview
Resource name |
Resource URI |
HTTP method or custom operation |
Description |
VAL Group Documents |
/group-documents |
POST |
Create a new VAL group document. |
GET |
Retrieve VAL group documents according to the query parameters. If there are no query parameters, do not fetch any VAL group document. |
||
Individual VAL Group Document |
/group-documents/{groupDocId} |
GET |
Retrieve an individual VAL group’s membership and configuration information according to query parameter on the resource identified by {groupDocId}. If there are no query parameter, fetch the whole VAL group document resource identified by {groupDocId}. |
PUT |
Update an individual VAL group’s membership and configuration information identified by {groupDocId}. |
||
PATCH |
Partially update an individual VAL group’s membership and configuration information identified by {groupDocId} |
||
DELETE |
Deletes an individual VAL group’s membership and configuration information identified by {groupDocId}. |
7.2.1.2.2 Resource: VAL Group Documents
7.2.1.2.2.1 Description
The VAL Group Documents resource represents all the VAL group documents that are created at a given group management server.
7.2.1.2.2.2 Resource Definition
Resource URI: {apiRoot}/ss-gm/<apiVersion>/group-documents
This resource shall support the resource URI variables defined in the table 7.2.1.2.2.2-1.
Table 7.2.1.2.2.2-1: Resource URI variables for this resource
Name |
Data Type |
Definition |
apiRoot |
string |
See clause 6.5 |
7.2.1.2.2.3 Resource Standard Methods
7.2.1.2.2.3.1 POST
This method shall support the URI query parameters specified in table 7.2.1.2.2.3.1-1.
Table 7.2.1.2.2.3.1-1: URI query parameters supported by the POST method on this resource
Name |
Data type |
P |
Cardinality |
Description |
n/a |
This method shall support the request data structures specified in table 7.2.1.2.2.3.1-2 and the response data structures and response codes specified in table 7.2.1.2.2.3.1-3.
Table 7.2.1.2.2.3.1-2: Data structures supported by the POST Request Body on this resource
Data type |
P |
Cardinality |
Description |
VALGroupDocument |
M |
1 |
Details of the VAL group that needs to be created, |
Table 7.2.1.2.2.3.1-3: Data structures supported by the POST Response Body on this resource
Data type |
P |
Cardinality |
Response codes |
Description |
VALGroupDocument |
M |
1 |
201 Created |
VAL group created successfully. The URI of the created resource shall be returned in the "Location" HTTP header. |
NOTE: The mandatory HTTP error status codes for the POST method listed in table 5.2.6-1 of 3GPP TS 29.122 [3] also apply. |
Table 7.2.1.2.2.3.1-4: Headers supported by the 201 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
Contains the URI of the newly created resource, according to the structure: {apiRoot}/ss-gm/<apiVersion>/group-documents/{groupDocId} |
7.2.1.2.2.3.2 GET
This operation retrieves VAL group documents satisfying filter criteria. This method shall support the URI query parameters specified in table 7.2.1.2.2.3.2-1.
Table 7.2.1.2.2.3.2-1: URI query parameters supported by the GET method on this resource
Name |
Data type |
P |
Cardinality |
Description |
val-group-id |
string |
O |
0..1 |
String identifying the VAL group. |
val-service-id |
string |
O |
0..1 |
String identifying the VAL service. |
This method shall support the request data structures specified in table 7.2.1.2.2.3.2-2 and the response data structures and response codes specified in table 7.2.1.2.2.3.2 -3.
Table 7.2.1.2.2.3.2-2: Data structures supported by the GET Request Body on this resource
Data type |
P |
Cardinality |
Description |
n/a |
Table 7.2.1.2.2.3.2-3: Data structures supported by the GET Response Body on this resource
Data type |
P |
Cardinality |
Response codes |
Description |
array(VALGroupDocument) |
M |
0..N |
200 OK |
List of VAL group documents. This response shall include VAL group documents matching the query parameters provided in the request. |
n/a |
307 Temporary Redirect |
Temporary redirection, during resource retrieval. The response shall include a Location header field containing an alternative URI of the resource located in an alternative group management server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
n/a |
308 Permanent Redirect |
Permanent redirection, during resource retrieval. The response shall include a Location header field containing an alternative URI of the resource located in an alternative group management server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
NOTE: The mandatory HTTP error status codes for the GET method listed in table 5.2.6-1 of 3GPP TS 29.122 [3] also apply. |
Table 7.2.1.2.2.3.2-4: Headers supported by the 307 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative group management server. |
Table 7.2.1.2.2.3.2-5: Headers supported by the 308 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative group management server. |
7.2.1.2.2.4 Resource Custom Operations
None.
7.2.1.2.3 Resource: Individual VAL Group Document
7.2.1.2.3.1 Description
The Individual VAL Group Document resource represents an individual group document that is created at a given group management server.
7.2.1.2.3.2 Resource Definition
Resource URI: {apiRoot}/ss-gm/<apiVersion>/group-documents/{groupDocId}
This resource shall support the resource URI variables defined in the table 7.2.1.2.3.2-1.
Table 7.2.1.2.3.2-1: Resource URI variables for this resource
Name |
Data Type |
Definition |
apiRoot |
string |
See clause 6.5 |
groupDocId |
string |
Represents an individual group document resource. |
7.2.1.2.3.3 Resource Standard Methods
7.2.1.2.3.3.1 GET
This operation retrieves VAL group information satisfying filter criteria. This method shall support the URI query parameters specified in table 7.2.1.2.3.3.1-1.
Table 7.2.1.2.3.3.1-1: URI query parameters supported by the GET method on this resource
Name |
Data type |
P |
Cardinality |
Description |
group-members |
boolean |
O |
0..1 |
When set to ‘true’, it indicates the group management server to send the members list information of the VAL group. Set to false or omitted otherwise. |
group-configuration |
boolean |
O |
0..1 |
When set to ‘true’, it indicates the group management server to send the configuration information of the VAL group. Set to false or omitted otherwise. |
This method shall support the request data structures specified in table 7.2.1.2.3.3.1-2 and the response data structures and response codes specified in table 7.2.1.2.3.3.1-3.
Table 7.2.1.2.3.3.1-2: Data structures supported by the GET Request Body on this resource
Data type |
P |
Cardinality |
Description |
n/a |
Table 7.2.1.2.3.3.1-3: Data structures supported by the GET Response Body on this resource
Data type |
P |
Cardinality |
Response codes |
Description |
VALGroupDocument |
M |
1 |
200 OK |
The VAL group information based on the request from the VAL server. This response shall include VAL group members list if group-members flag is set to true in the request, VAL group configuration information if the group-configuration flag is set to true in the request, VAL group identifier, whole VAL group document resource if both group-members and group-configuration flags are omitted/set to false in the request. |
n/a |
307 Temporary Redirect |
Temporary redirection, during resource retrieval. The response shall include a Location header field containing an alternative URI of the resource located in an alternative group management server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
n/a |
308 Permanent Redirect |
Permanent redirection, during resource retrieval. The response shall include a Location header field containing an alternative URI of the resource located in an alternative group management server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
NOTE: The mandatory HTTP error status codes for the GET method listed in table 5.2.6-1 of 3GPP TS 29.122 [3] also apply. |
Table 7.2.1.2.3.3.1-4: Headers supported by the 307 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative group management server. |
Table 7.2.1.2.3.3.1-5: Headers supported by the 308 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative group management server. |
7.2.1.2.3.3.2 PUT
This operation updates the VAL group document. This method shall support the URI query parameters specified in table 7.2.1.2.3.3.2-1.
Table 7.2.1.2.3.3.2-1: URI query parameters supported by the PUT method on this resource
Name |
Data type |
P |
Cardinality |
Description |
n/a |
This method shall support the request data structures specified in table 7.2.1.2.3.3.2-2 and the response data structures and response codes specified in table 7.2.1.2.3.3.2-3.
Table 7.2.1.2.3.3.2-2: Data structures supported by the PUT Request Body on this resource
Data type |
P |
Cardinality |
Description |
VALGroupDocument |
M |
1 |
Updated details of the VAL group document. |
Table 7.2.1.2.3.3.2-3: Data structures supported by the PUT Response Body on this resource
Data type |
P |
Cardinality |
Response codes |
Description |
VALGroupDocument |
M |
1 |
200 OK |
The VAL group document updated successfully and the updated VAL group document returned in the response. |
n/a |
204 No Content |
The VAL group document updated successfully. |
||
n/a |
307 Temporary Redirect |
Temporary redirection, during resource modification. The response shall include a Location header field containing an alternative URI of the resource located in an alternative group management server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
n/a |
308 Permanent Redirect |
Permanent redirection, during resource modification. The response shall include a Location header field containing an alternative URI of the resource located in an alternative group management server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
NOTE: The mandatory HTTP error status codes for the PUT method listed in table 5.2.6-1 of 3GPP TS 29.122 [3] also apply. |
Table 7.2.1.2.3.3.2-4: Headers supported by the 307 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative group management server. |
Table 7.2.1.2.3.3.2-5: Headers supported by the 308 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative group management server. |
7.2.1.2.3.3.3 DELETE
This operation deletes the VAL group document. This method shall support the URI query parameters specified in table 7.2.1.2.3.3.3-1.
Table 7.2.1.2.3.3.3-1: URI query parameters supported by the DELETE method on this resource
Name |
Data type |
P |
Cardinality |
Description |
n/a |
This method shall support the request data structures specified in table 7.2.1.2.3.3.3-2 and the response data structures and response codes specified in table 7.2.1.2.3.3.3-3.
Table 7.2.1.2.3.3.3-2: Data structures supported by the DELETE Request Body on this resource
Data type |
P |
Cardinality |
Description |
n/a |
Table 7.2.1.2.3.3.3-3: Data structures supported by the DELETE Response Body on this resource
Data type |
P |
Cardinality |
Response codes |
Description |
n/a |
204 No Content |
The individual VAL group document matching the groupDocId is deleted. |
||
n/a |
307 Temporary Redirect |
Temporary redirection, during resource termination. The response shall include a Location header field containing an alternative URI of the resource located in an alternative group management server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
n/a |
308 Permanent Redirect |
Permanent redirection, during resource termination. The response shall include a Location header field containing an alternative URI of the resource located in an alternative group management server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
NOTE: The mandatory HTTP error status codes for the DELETE method listed in table 5.2.6-1 of 3GPP TS 29.122 [3] also apply. |
Table 7.2.1.2.3.3.3-4: Headers supported by the 307 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative group management server. |
Table 7.2.1.2.3.3.3-5: Headers supported by the 308 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative group management server. |
7.2.1.2.3.3.4 PATCH
This method shall support the URI query parameters specified in table 7.2.1.2.3.3.4-1.
Table 7.2.1.2.3.3.4-1: URI query parameters supported by the PATCH method on this resource
Name |
Data type |
P |
Cardinality |
Description |
n/a |
This method shall support the request data structures specified in table 7.2.1.2.3.3.4-2 and the response data structures and response codes specified in table 7.2.1.2.3.3.4-3.
Table 7.2.1.2.3.3.4-2: Data structures supported by the PATCH Request Body on this resource
Data type |
P |
Cardinality |
Description |
VALGroupDocumentPatch |
M |
1 |
Contains the modifications to be applied to the Individual VAL Group Document resource. |
Table 7.2.1.2.3.3.4-3: Data structures supported by the PATCH Response Body on this resource
Data type |
P |
Cardinality |
Response codes |
Description |
VALGroupDocument |
M |
1 |
200 OK |
Individual VAL Group Document resource is modified successfully and representation of the modified VAL Group Document resource is returned. |
n/a |
204 No Content |
The Individual VAL Group Document resource is updated successfully. |
||
n/a |
307 Temporary Redirect |
Temporary redirection, during resource termination. The response shall include a Location header field containing an alternative URI of the resource located in an alternative SEAL server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
n/a |
308 Permanent Redirect |
Permanent redirection, during resource termination. The response shall include a Location header field containing an alternative URI of the resource located in an alternative SEAL server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [3]. |
||
NOTE: The mandatory HTTP error status codes for the PATCH method listed in table 5.2.6-1 of 3GPP TS 29.122 [3] also apply. |
Table 7.2.1.2.3.3.4-4: Headers supported by the 307 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative SEAL server. |
Table 7.2.1.2.3.3.4-5: Headers supported by the 308 Response Code on this resource
Name |
Data type |
P |
Cardinality |
Description |
Location |
string |
M |
1 |
An alternative URI of the resource located in an alternative SEAL server. |
7.2.1.2.3.4 Resource Custom Operations
None.
7.2.1.3 Notifications
None.
7.2.1.4 Data Model
7.2.1.4.1 General
This clause specifies the application data model supported by the API. Data types listed in clause 6.2 apply to this API
Table 7.2.1.4.1-1 specifies the data types defined specifically for the SS_GroupManagement API service.
Table 7.2.1.4.1-1: SS_GroupManagement API specific Data Types
Data type |
Section defined |
Description |
Applicability |
VALGroupDocument |
7.2.1.4.2.2 |
Represents details of the VAL group document information. |
|
VALGroupDocumentPatch |
7.2.1.4.2.3 |
Represent details of the partial update of VAL group document information. |
PatchUpdate |
Table 7.2.1.4.1-2 specifies data types re-used by the SS_GroupManagement API service.
Table 7.2.1.4.1-2: Re-used Data Types
Data type |
Reference |
Comments |
Applicability |
ExternalGroupId |
3GPP TS 29.122 [3] |
Used to represent the the external group identifier related to the member UEs of the group. |
|
LocationArea5G |
3GPP TS 29.122 [3] |
Represents location information. |
|
LocationInfo |
3GPP TS 29.122 [3] |
The location information related to VAL group. |
|
PduSessionType |
3GPP TS 29.571 [21] |
Identifies PDU Session Type. |
|
SupportedFeatures |
3GPP TS 29.571 [21] |
Used to negotiate the applicability of optional features defined in table 7.2.1.6-1. |
|
ValTargetUe |
Clause 7.3.1.4.2.3 |
Used to indicate either VAL User ID or VAL UE ID, to which location reporting applies. |
7.2.1.4.2 Structured data types
7.2.1.4.2.1 Introduction
7.2.1.4.2.2 Type: VALGroupDocument
Table 7.2.1.4.2.2-1: Definition of type VALGroupDocument
Attribute name |
Data type |
P |
Cardinality |
Description |
Applicability |
valGroupId |
string |
M |
1 |
This is VAL group identity (VAL group ID) as per TS 23.434 [2], which is a unique identifier within the VAL service that represents a VAL group, set of VAL users or VAL UEs according to the VAL service. |
|
grpDesc |
string |
O |
0..1 |
Text description of the VAL group. |
|
members |
array(ValTargetUe) |
O |
1..N |
List of VAL User IDs or VAL UE IDs, which are members of the VAL group. |
|
valGrpConf |
string |
O |
0..1 |
Configuration data for the VAL group. Shall be present in HTTP POST request message from VAL server to Group Management server. |
|
valServiceIds |
array(string) |
O |
1..N |
List of VAL services whose communications enabled on the group. |
|
suppFeat |
SupportedFeatures |
O |
0..1 |
Used to negotiate the supported optional features of the API as described in clause 6.8. This attribute shall be provided in the HTTP POST request and in the response of successful resource creation. |
|
resUri |
Uri |
O |
0..1 |
The URI for individual VAL group document resource. (NOTE 1) |
|
locInfo |
LocationInfo |
O |
0..1 |
The location information related to the VAL group. This information is used to determine the members of the group. |
|
addLocInfo |
LocationArea5G |
O |
0..1 |
The additional location information related to the VAL group. This information is used to determing the members of the group. |
|
extGrpId |
ExternalGroupId |
O |
0..1 |
The external group identifier, identifying the member UEs of the VAL group at the 3GPP core network. |
|
com5GLanType |
PduSessionType |
O |
0..1 |
Identifies the 5G LAN-Type communication. (NOTE 2) |
|
valSvcInf |
string |
O |
0..1 |
VAL service specific information that may be present during group membership update and in the notification of the events "GM_GROUP_INFO_CHANGE" and "GM_GROUP_CREATE". |
|
NOTE 1: The "resUri" attribute is not modifiable by the VAL server. NOTE 2: The enumeration value "UNSTRUCTURED" in data type "PduSessionType" is not applicable. |
7.2.1.4.2.3 Type: VALGroupDocumentPatch
Table 7.2.1.4.2.3-1: Definition of type VALGroupDocumentPatch
Attribute name |
Data type |
P |
Cardinality |
Description |
Applicability |
grpDesc |
string |
O |
0..1 |
Text description of the VAL group. |
|
members |
array(ValTargetUe) |
O |
1..N |
List of VAL User IDs or VAL UE IDs, which are members of the VAL group. |
|
valGrpConf |
string |
O |
0..1 |
Configuration data for the VAL group. |
|
valServiceIds |
array(string) |
O |
1..N |
List of VAL services whose communications enabled on the group. |
|
locInfo |
LocationInfo |
O |
0..1 |
The location information related to the VAL group. This information is used to determine the members of the group. |
|
addLocInfo |
LocationArea5G |
O |
0..1 |
The additional location information related to the VAL group. This information is used to determining the members of the group. |
|
extGrpId |
ExternalGroupId |
O |
0..1 |
The external group identifier, identifying the member UEs of the VAL group at the 3GPP core network. |
|
com5GLanType |
PduSessionType |
O |
0..1 |
Identifies the 5G LAN-Type communication. (NOTE 1) |
|
NOTE 1: The enumeration value "UNSTRUCTURED" in data type "PduSessionType" is not applicable. |
7.2.1.4.3 Simple data types and enumerations
None.
7.2.1.5 Error Handling
7.2.1.5.1 General
HTTP error handling shall be supported as specified in clause 6.7.
In addition, the requirements in the following clauses shall apply.
7.2.1.5.2 Protocol Errors
In this Release of the specification, there are no additional protocol errors applicable for the SS_GroupManagement API.
7.2.1.5.3 Application Errors
The application errors defined for SS_GroupManagement API are listed in table 7.2.1.5.3-1.
Table 7.2.1.5.3-1: Application errors
Application Error |
HTTP status code |
Description |
Applicability |
7.2.1.6 Feature negotiation
General feature negotiation procedures are defined in clause 6.8.
Table 7.2.1.6-1: Supported Features
Feature number |
Feature Name |
Description |
1 |
PatchUpdate |
Indicates the support of the PATCH method for updating an Individual VAL Group Document resource. |