File tree 1 file changed +52
-1
lines changed
1 file changed +52
-1
lines changed Original file line number Diff line number Diff line change 1
1
swagger : ' 2.0'
2
2
info :
3
- version : 0.1 .0
3
+ version : 0.2 .0
4
4
title : Netlify's API definition
5
5
securityDefinitions :
6
6
netlifyAuth :
@@ -1238,6 +1238,21 @@ paths:
1238
1238
default :
1239
1239
$ref : " #/responses/error"
1240
1240
# end submission
1241
+
1242
+ # begin users
1243
+ /user :
1244
+ get :
1245
+ operationId : getCurrentUser
1246
+ responses :
1247
+ ' 200 ' :
1248
+ description : OK
1249
+ schema :
1250
+ type : array
1251
+ items :
1252
+ $ref : " #/definitions/user"
1253
+ default :
1254
+ $ref : " #/responses/error"
1255
+ # end users
1241
1256
definitions :
1242
1257
site :
1243
1258
type : object
@@ -1934,6 +1949,42 @@ definitions:
1934
1949
type : string
1935
1950
ssl_url :
1936
1951
type : string
1952
+ user :
1953
+ type : object
1954
+ properties :
1955
+ id :
1956
+ type : string
1957
+ uid :
1958
+ type : string
1959
+ full_name :
1960
+ type : string
1961
+ avatar_url :
1962
+ type : string
1963
+ email :
1964
+ type : string
1965
+ affiliate_id :
1966
+ type : string
1967
+ site_count :
1968
+ type : integer
1969
+ format : int64
1970
+ created_at :
1971
+ type : string
1972
+ format : dateTime
1973
+ last_login :
1974
+ type : string
1975
+ format : dateTime
1976
+ login_providers :
1977
+ type : array
1978
+ items :
1979
+ type : string
1980
+ onboarding_progress :
1981
+ type : object
1982
+ properties :
1983
+ slides :
1984
+ type : string
1985
+ support_priority :
1986
+ type : integer
1987
+ format : int64
1937
1988
error :
1938
1989
type : object
1939
1990
required :
You can’t perform that action at this time.
0 commit comments