1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-26 13:48:53 +08:00
Mainflux.mainflux/internal.proto
Ivan Milošević effade00aa MF-325 - Add SPDX license and copyright headers (#362)
* MF-325 - Add SPDX license and copyright headers

Signed-off-by: Ivan Milošević <iva@blokovi.com>

* MF-325 - Add SPDX license and copyright headers

Signed-off-by: Ivan Milošević <iva@blokovi.com>

* MF-325 - Add SPDX license and copyright headers

Signed-off-by: Ivan Milošević <iva@blokovi.com>

* MF-325 - Add SPDX license and copyright headers

Signed-off-by: Ivan Milošević <iva@blokovi.com>

* MF-325 - Change mainflux version from 0.4.0 to 0.5.0

Signed-off-by: Ivan Milošević <iva@blokovi.com>
2018-08-26 13:15:48 +02:00

37 lines
507 B
Protocol Buffer

//
// Copyright (c) 2018
// Mainflux
//
// SPDX-License-Identifier: Apache-2.0
//
syntax = "proto3";
package mainflux;
service ThingsService {
rpc CanAccess(AccessReq) returns (ThingID) {}
rpc Identify(Token) returns (ThingID) {}
}
service UsersService {
rpc Identify(Token) returns (UserID) {}
}
message AccessReq {
string token = 1;
uint64 chanID = 2;
}
message ThingID {
uint64 value = 1;
}
message Token {
string value = 1;
}
message UserID {
string value = 1;
}