This repository was archived by the owner on Aug 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +105
-0
lines changed Expand file tree Collapse file tree 1 file changed +105
-0
lines changed Original file line number Diff line number Diff line change 4747 "name" : " translation" ,
4848 "description" : " Manage translation"
4949 },
50+ {
51+ "name" : " phrase" ,
52+ "description" : " Manage phrase"
53+ },
5054 {
5155 "name" : " report" ,
5256 "description" : " Technical reports"
19231927 }
19241928 }
19251929 },
1930+ "/phrase" : {
1931+ "get" : {
1932+ "description" : " View list of phrases" ,
1933+ "security" : [
1934+ {
1935+ "ApiKeyAuth" : []
1936+ }
1937+ ],
1938+ "tags" : [" phrase" ],
1939+ "responses" : {
1940+ "200" : {
1941+ "description" : " return the list of all phrase"
1942+ }
1943+ }
1944+ },
1945+ "post" : {
1946+ "description" : " Add new phrase" ,
1947+ "security" : [
1948+ {
1949+ "ApiKeyAuth" : []
1950+ }
1951+ ],
1952+ "tags" : [" phrase" ],
1953+ "requestBody" : {
1954+ "content" : {
1955+ "application/json" : {
1956+ "schema" : {
1957+ "type" : " object" ,
1958+ "properties" : {
1959+ "phrase" : {
1960+ "type" : " string" ,
1961+ "description" : " The Quran phrase" ,
1962+ "example" : " كتب"
1963+ }
1964+ }
1965+ }
1966+ }
1967+ }
1968+ },
1969+ "responses" : {
1970+ "200" : {
1971+ "description" : " Your phrase added"
1972+ }
1973+ }
1974+ }
1975+ },
1976+ "/phrase/{language}" : {
1977+ "get" : {
1978+ "description" : " Edit phrase eith id you specified" ,
1979+ "security" : [
1980+ {
1981+ "ApiKeyAuth" : []
1982+ }
1983+ ],
1984+ "parameters" : [
1985+ {
1986+ "in" : " path" ,
1987+ "required" : true ,
1988+ "name" : " phrase_lang" ,
1989+ "schema" : {
1990+ "type" : " string"
1991+ }
1992+ }
1993+ ],
1994+ "tags" : [" phrase" ],
1995+ "responses" : {
1996+ "200" : {
1997+ "description" : " Return the phrase with id you specified"
1998+ }
1999+ },
2000+ "post" : {
2001+ "description" : " Edit phrase whit id you specified" ,
2002+ "security" : [
2003+ {
2004+ "ApiKeyAuth" : []
2005+ }
2006+ ],
2007+ "parameters" : [
2008+ {
2009+ "in" : " path" ,
2010+ "required" : true ,
2011+ "name" : " phrase_lang" ,
2012+ "schema" : {
2013+ "type" : " string"
2014+ }
2015+ }
2016+ ],
2017+ "tags" : [" phrase" ],
2018+ "responses" : {
2019+ "200" : {
2020+ "description" : " phrase whit id you specified edited/added"
2021+ }
2022+ }
2023+ }
2024+ }
2025+ },
19262026 "/error" : {
19272027 "get" : {
19282028 "description" : " View List of errors" ,
2029+ "security" : [
2030+ {
2031+ "ApiKeyAuth" : []
2032+ }
2033+ ],
19292034 "parameters" : [
19302035 {
19312036 "in" : " query" ,
You can’t perform that action at this time.
0 commit comments